How to display an "All Day Event" date correctly in an integrated SSRS Report?

I have two event items in a calendar list in SharePoint 2010. Both items have the same start time and end time. One of them, however, has the "All Day Event" checkbox checked. If I access them through a REST service, this is how the data is
returned:
<!-- item 1 -->
<d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
<d:EndTime m:type="Edm.DateTime">2014-03-25T23:55:00</d:EndTime>
<d:AllDayEvent m:type="Edm.Boolean">false</d:AllDayEvent>
<!-- item 2 -->
<d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
<d:EndTime m:type="Edm.DateTime">2014-03-25T23:59:00</d:EndTime>
<d:AllDayEvent m:type="Edm.Boolean">true</d:AllDayEvent>
I have a report in the same SharePoint 2010 site that uses SSRS in integrated mode. The data source is the calendar list mentioned above.  The date fields are not formatted, just displayed as them come from the list/database.
My locale is set to en-US. When I run the report, the start date for item 1 is displayed as "3/21/2014" ('all day' set to false) but the start date for item 2 is displayed as "3/20/2014" which is incorrect ('all day' set to true).
I did some research online and found out that SharePoint stores all date fields as UTC except for 'All Day Events', which are stored in local time (our servers are in Central Time, but I'm running the report fom Pacific Time, in the US).
I coudn't find a solution to display the date correctly in the integrated SSRS report. Is there a way, maybe some straightforward formatting, to show All Day Event dates correctly? I tried adding hours but this is inconsistent with daylight saving hour changes.
I would appreciate any help.
C#, Sharepoint

Hi SharpBud,
The date for all day event stored in SQL in GMT time, the start time for an all day event returns the start time in GMT time, which is not the current time most likely.
This is a confirmed issue, as a workaround, I would suggest you to use a calculate column for the event for the column, using the following format:
IF(TEXT(([End Time]-[Start Time])-TRUNC(([End Time]-[Start Time]),0),"0.000000000")="0.999305556",IF([Start Time]=ROUND([Start Time],0),[Start Time],DATE(YEAR([Start Time]),MONTH([Start
Time]),DAY([Start Time])+1)),[Start Time])
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • How do I get all day events to show back up in my notification center after iOS8 update?

    I have a iPhone 5, with iOS 8, 16GB
    OK, none of my calender events are showing up in my notification center, and I have all type's of events on my calender, I have tried going in to my settings < then notifications < then calender < now, on this screen it shows that I am allowing notifications, so I went to upcoming events < and everything on this screen is on, I don't know what to do. How do I fix this? Can someone please help me?

    Unfortunately, iOS 7 and iOS 8 do not show All-day-events in the Notification Centre.
    Try to do a search within the forums or just google it and you will see that this is how ios7 and 8 have been designed from the start, and a major issue in my opinion.
    How do you add your All-Day calendar events to Notification Center in iOS 7?
    iOS 7 Notification Center does not show all-day events
    How do I see my all-day events in Notification Center?
    http://forums.macrumors.com/showthread.php?t=1751494
    http://forums.macrumors.com/showthread.php?t=1594792

  • How do I disable all-day events in iCal?

    For some reason, when I run iCal it'll always show all-day events regardless of how I turned it off. Given that I'm not a fan of defining an event as all-day, this is very annoying, as it pushes down my calendar and plops an annoying bar at the top that I need to manually remove. Preferences don't seem to show anything useful and google seems full of people trying to sync all-day events to various and sundry mobile phones, which isn't what I want; iCal's help is sparse as well.
    Any ideas?
    Thanks! =)

    ah yes, the default view shows all-day events every time you launch the application, no way around that, and it looks like a minor "bug". you may want to send feedback to apple: http://www.apple.com/feedback/ical.html
    hope this helps

  • How to view iCal all day events in notifications tab?

    First of all I really don't like the new iCal app in ios7 but for now I am dealing with it and am contemplating getting a new app to use for my calendar. However I am trying to make this one work first. One of the problems I have is if I have iCal events that are scheduled as "all day" events, and when I swipe down to view my notifications tab it says I have no events even when I have an event for that day.  However it shows up if I have a time for that event, ex: 8:00 am to 10:00am.
    Is this a bug or is there a way to get them to show up? I have everything turned on in settings for the notifications tab settings.
    My other issue with iCal is I have two calendars (one for work and one for home) and when I view my month, I want to be able to see the color of the event i have planned on certain days, instead it just shows me a grey dot for the days i have something planned. My ipad with ios7 shows me the view I want my iphone doesn't, just grey dots.  This forces me to actually click on the day and then try to scroll through the day timeline to find my event.....any help?

    Did you ever get an answer on this?  I can see everything in the DAY view but need to see the all day events in the week view.  I have events that start on say the 15th and run to the 21st.  I've started putting the end date in the location field but it was so much nicer when the all day even portion expanded to allow you to see all of them without having to scroll.  Having to use the DAY view makes it really hard to schedule.  Any chance this will change in the new version?

  • Day view only displays 6 all-day events

    Until the most recent iPhone upgrade, the day view in the calendar displayed many more untimed, all-day events. Now, it seems only to display 6. The rest of my all-day events are only visible in the list view. Is this something new Apple did on purpose, or is my iPhone acting up?

    Echoing that. I thought I was the only one experiencing this. It's super annoying, and actually causing me to miss important appointments. Can anyone help? I find myself pining for the next release.

  • How do you disable all-day event notifications?

    I've already read the various threads about the issues with all-day events disappearing from the Today view and only appearing in the Notifications.  However, I am having an issue when trying to disable all-day event notifications.  I currently use my all day events from my work calendar (Lotus Notes 8.5) that is synched to my phone.  I have disabled the "Notify Me" option within Lotus Notes and changed the default all day event notification on my phone to "None".  The problem is that this has not disabled any all day event notification and I still get notified every night at midnight for the event.  This didn't happen on iOS 6 or any of the iOS 7 beta versions.  Is this something that can be fixed?  Thanks!

    the Automation quick access should be off by default. I don't think this is what will do it for you, but here is a description of it, Page 320 of the manual
    Automation Quick Access
    This feature makes Track Automation extremely fast and simple if you only have one hardware MIDI controller available (one fader on your MIDI keyboard, or maybe just the Modulation wheel). You can use this single hardware controller to access (and automate) the currently visible Automation parameter of the selected Track in the Arrange window.
    since it is midi messages that you do not want to send from your controller, I think you need to go to song settings an filter out incomming midi messages. File>song settings>midi>imput filter
    but really any messages being sent should only effect the channel you are playing. I am assuming you are playing one of logics instruments for live performance.

  • How do i get all day events to show up in iOS7 notification center?

    Hi,
    How can I get events designated as "All Day" in Calendar to show up in my notification center on iOS7? I'm using an iphone 5 and all other features seem to be working. Thanks much.
    Adam

    Try going to settings - notification center - and turn on Daily calendar view

  • How to display error logs of Processed Data chain(BW)  in a ALV Report

    Hi Experts,
      I have a requirement, to display all the errors of a Processed chain in Business Warehouse.
      Is there any approach to  achieve this requirement ?
      Your replies will be appreciated.
      Thanks in Advance,
       Regards,
       Giri

    Some id/log tables for the report
    RSPCLOGCHAIN
    RSPCPROCESSLOG
    Some master tables associated
    RSPCCHAIN (-T)
    RSPCVARIANT (-T)
    RSLDPIO (-T)
    RSPROCESSTYPES (-T)
    FM to call to check/update status of chain/logid
    RSPC_API_CHAIN_GET_STATUS
    Regards,
    Raymond

  • How to set "All day event " as default in Calendar in 9630

    In BB 9630 how do I set "All day event " as the default in Calendar?

    Hello,
    You asked the same question twice, albeit the first time in the wrong place:
    http://supportforums.blackberry.com/t5/BlackBerry-Curve-BlackBerry-8300/How-to-check-as-default-quot...
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Calendar display issues for "All Day Events" coming from Exchange Server

    My problem is with the display of All Day events. I'm running a 3gs, Outlook 2007 on winxp, connected to a Exchange 2007 server. When an all day event is put in for multiple days the phone calendar displays it as starting at midnight going to midnight, and sometimes wont display the event on the list view on the phone. I can correct the display by editing it on the phone and making it all day there, but then the category I assigned the event in outlook goes away in outlook. All day single day events work just fine. Any suggestions?

    Sort of same issue:
    All day events scheduled from Entourage display incorrectly on iPhone/iPad as non-all-day events (which block out entire day/multiple days)
    All day events scheduled from iPhone/iPad show up correctly in Entourage as all-day events, but incorrectly with an *extra day* added.

  • HT202337 list all-day events in day view on Mac icalendar with Yosemite upgrade

    Before I upgraded to Yosemite, I loved that the day view of the iCalendar on the Mac showed all the calendar events (including all-day events) in a list view. Now that I have upgraded, the day view shows in the same format as week view with timed events primarily displayed and all-day events at the top in a small section with a scroll bar.  I use all-day events a lot, and would much prefer the list of events (including all-day events) when looking at the day view!  (It is this way on the iPhone, but no longer on the Mac icalendar.)  How can I get back to this listed events in the day view?? Or if not, is there a way to move down the bar underneath the all-day events section (to show more of the all-day events at a time)? PLEASE? Help??  Thank you in advance!!

    Carriebrandon03,
    To Repair Disk Permissions, Home Folder Permissions and ACLs in Recovery Mode. Do the Following:
    Shutdown your Mac > on reboot hold down the ( Command ) and ( R ) keys.
    If prompted > Select the best language suited for you and tap the Arrow in the bottom middle >
    On the "OS X Utilities" Window that comes up select Disk Utility and press the Continue Button > Select the indented Hard Drive mine is Macintosh HD > If you have FileVault enabled you may have to unlock the drive, I don't so I'm not 100% sure > Click the "Repair Disk" button, wait until you see "The Volume Macintosh HD appears to be OK" It will be green > Click the "Repair Disk Permissions" button wait until you see "Permissions repair complete" > Hit the Red X top left corner to close Disk Utility. > You will see the "OS X Utilities" Window again.
    Select Utilities ( Menubar ) > Terminal > In Terminal type:
    resetpassword
    The "Reset Password" Window will open behind Terminal > Select your Hard Drive mine is Macintosh HD > On the drop down select your User's name > Click the "Reset" button bottom right > repeat for each user.
    Select  ( Menubar ) > Shutdown
    Screenshots Included below to help guide. Sorry about the quality of some of the shots as I had to take the photos of my screen.
    Hope that helps,
    Weston

  • All Day Event

    Hello.
    I tried get state 'All Day Event' from new appointment.
    Using the documentation 'GroupWise Tokens' I found only ItemSetAllDayEvent().
    How I can get state 'All Day Event' ?

    My application has integration with GroupWise. I use C3PO interface for integration.
    Application works with appointment window. Application creates a button on the toolbar and gets values from fields of appointment form.
    For create a button I use C3PO interface. For getting values from fields of appointment form I use GroupWise Tokens, exactly Token Commander. https://www.novell.com/documentation...dk_gwtoken.pdf
    Example using GroupWise Tokens:
    Retrieve field 'TO'
    string NewMessageID = "X00";
    string result = string.Empty;
    // 0 - To
    string method = string.Format("ItemGetText(\"{0}\"; 0)", NewMessageID);
    _gwCmder.Execute(method, out result);
    Retrieve field 'Start Date'
    string dateString = string.Empty
    // 126 - BeginDateTime
    // 174 - MAPIDate. Returns in format: Year/Month/Day 24HR:MIN.
    string method = string.Format("ItemGetDate(\"{0}\"; 126; 174)", NewMessageID);
    _gwCmder.Execute(method, out dateString);
    So, I can retrieve 'Body', 'Start Date' ,'End Date', 'Subject', 'To', I can set state of checkbox 'all day event' -> https://www.dropbox.com/s/fmzywxj0iq...ample.png?dl=0
    Example of setting checkbox state :
    string result = string.Empty;
    string method = string.Format("ItemSetAllDayEvent(1)");
    _gwCmder.Execute(method, out result);
    Result -> https://www.dropbox.com/s/0ca38ypx27...ample.png?dl=0
    But I can't retrieve state of checkbox 'all day event'.
    I didn't find any function for retrieve state of checkbox 'all day event'
    How can I get state by another way?

  • All day events sync as two day events on iPhone (using MobileMe)

    After starting to use MobileMe to sync calendars and contacts, I've started to have an issue with events that are marked "all day". As far as I can tell, regular timed events seem to sync correctly, but my "all day" events get put on the iPhone as two day events. I thought it might be a DST issue, but when I look at the details of the event it looks as though it's actually changing it to a two day event.
    For example, someone's birthday in iCal desktop app will have the details:
    all day
    from: July 3
    to: July 3
    But on my iPhone it gets synced as:
    all day
    from: July 3
    to: July 4
    What makes this even more weird, is that when I log onto me.com, and look at the iCal web app, my "all day" events are all one day early. For the examply above, the event will appear on July 2.
    This has really got me puzzled...anyone have any ideas?
    Thanks,
    Kenton

    Same issue with me almost exactly...but the all-day events on MobileMe and on my laptop iCal are actually on the correct day rather than the day earlier as you describe. Only the iPhone is out of whack compared to MobileMe and iCal.
    I tried syncing with iTunes and when that didn't display my all-day events correctly, I sync'd over the air by turning on MobileMe Calendar push. Both ended up with many all-day events spanning 2 consecutive days. However, not all the all-day events were incorrect, but several were. I haven't been able to establish a pattern.
    I am using an iPhone 8G 3G, my G4 Powerbook 12" running 10.4.11, and a MobileMe account.
    I spent a hour or two on the Apple site speaking with tech support over live internet chat. I was told there were lots and lots of sync issues going on and the tech was unable to solve my issue. He mentioned casually that many of the sync problems were occurring on systems running 10.4.11.
    It would be encouraging to learn if this bug that puts all-day events across two consecutive days only on the iPhone (but not on MobileMe or iCal application) is happening to others out there.
    Any others out there?

  • Multiple all-day events and one event disappears.

    I have multiple all-day events (in different calendars) and now sometimes (not always) one event won't show in iCal. It's still there cause it's now "....." instead of the name of the event.
    The old multiple all-day events show perfect but when I try to add another multiple all-day event now, it will only show one all-day event. It will show as maybe timed event as I wish but only one all-day event.
    I don't get why this has happened cause I have not changed anything from before except for maybe timezone.
    Any ideas?
    Thank you

    It seems that iCal only displays 5 all-day events, even if you have plenty of room in the calendar window. Change them to timed events and you can see more. Very annoying. I'd like to find a way to change that.

  • Midnight Notification on All Day Event

    How do you get all day events to notify you at a decent time of day?
    Having this go off at midnight causes all kinds of issues. Why can't set have a user preference setting for when we want to get these notifications?
    Post relates to: Pre p100eww (Sprint)

    You would have to set up a timed event; all day events can only have a reminder set to none, event time, or 1,2,3 days, or 1 week in advance. They cannot be set to a specific hour of the day.

Maybe you are looking for

  • I would like to purchase Lightroom 5 as a standalone product (in Slovenia). How can I do that?

    I have been trying to buy this product after using the test version for 30 days. However, the only options I can find are Upgrade (but I do not have a previous version installed) or Cloud.

  • How to install 32-bit driver as Additional Driver on Win 7 x64

    I have an x64 Win 7 machine with an HP4315 attached via USB. I have a few XP machines that need to access the printer on the X64 machine. When I "Add printer" and reference the share name on the x64 machine, it attempts to download a driver, which fa

  • No sound from windows 7 on bootcamp

    I bought my lovely brand new imac, done all the updates and all is good, I installed windows 7 on bootcamp but cannot not get any sound from the windows, yes I get sound while running the mac but when I boot to windows 7 i hear nothing. Now the meter

  • [JS][CS3] Clipboard to variable

    Hi Guys, just want to ask if is somehow possible to get javascript variable from clipboard. I have a filepath as a clipboard content and want to use it as variable in script. Thanx for Your answers.

  • HP Officejet 6500 All-In-One 709n Won't print black

    I am using a 6500 wireless printer.  The printer has been in storage for 5 months.  The cartridges were removed and placed in my refrigerator.  Upon reinstalling the cartridges the printer seemed to print; but there was no ink on the paper.  I cleane