Sharepoint 03 / Infopath 03, Time Zones and Dates - InfoPath Dev
in

InfoPath Dev

Sharepoint 03 / Infopath 03, Time Zones and Dates

Last post 04-25-2007 12:43 AM by chang. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-18-2007 02:14 PM

    • yonah
    • Not Ranked
    • Joined on 10-06-2006
    • USA
    • Posts 10

    Sharepoint 03 / Infopath 03, Time Zones and Dates

    I have been experiencing some weird stuff going on with SharePoint, and I was wondering if anyone has worked around these issues.

     PLEASE NOTE: This is with Infopath 2003 and SPS 2003

    First off, most of my users are in the US/Eastern time zone, as well as my server. I am posting to a SharePoint events list using infopath, with a smaller number of users on Pacific time.

     For those on the east, everything works fine - i.e. they enter an event for 9-12, it shows up as 9-12.

    However, the problem is for those on the west coast. If I add a west coast event for 9-12 pacific time (12-3 eastern). It shows up in sharepoint as 9-12 eastern. It then shows up on the user's linked outlook calendars as 6-9 pacific.

     Is there any way that I can set the user's timezone when posting?

  • 04-18-2007 07:08 PM In reply to

    Re: Sharepoint 03 / Infopath 03, Time Zones and Dates

    Hi Yonah,

    What is an "event"? Are you using an InfoPath form or is this some SharePoint list object? InfoPath doesn't change timezones like Outlook - it assumes times are entered in GMT (Greenwich Mean Time which is neither EST nor PST). I'm not sure what SharePoint lists would do. However, looks like your server is set to Eastern and the Outlook is doing the right fixup. This suggests that you are using a SharePoint list item (vs. an InfoPath form) and that SharePoint has some problem translating the time.

     Just my random 2 cents though ...

    Patrick Halstead
    Project Manager at Qdabra
  • 04-19-2007 12:42 PM In reply to

    • yonah
    • Not Ranked
    • Joined on 10-06-2006
    • USA
    • Posts 10

    Re: Sharepoint 03 / Infopath 03, Time Zones and Dates

    Patrick,

    Thanks for the quick reply. an 'Event' is a SharePoint 'Events list', which is essentially a calendar. I am aware that there is no TZ data in Infopath, what I need to know is how do I find the user's time zone and edit my timestamp so that I can send SharePoint the appropriate time-adjusted timestamp.

     In addition, for whatever reason, I can send dates to sharepoint just fine, but not times.

     

     

     

    Patrick Halstead:

    Hi Yonah,

    What is an "event"? Are you using an InfoPath form or is this some SharePoint list object? InfoPath doesn't change timezones like Outlook - it assumes times are entered in GMT (Greenwich Mean Time which is neither EST nor PST). I'm not sure what SharePoint lists would do. However, looks like your server is set to Eastern and the Outlook is doing the right fixup. This suggests that you are using a SharePoint list item (vs. an InfoPath form) and that SharePoint has some problem translating the time.

     Just my random 2 cents though ...

  • 04-25-2007 12:43 AM In reply to

    • chang
    • Not Ranked
    • Joined on 03-28-2007
    • Posts 23

    Re: Sharepoint 03 / Infopath 03, Time Zones and Dates

    If you're using script in your InfoPath form, you can use the WIN32_TimeZone WMI class (see http://msdn2.microsoft.com/en-us/library/aa394498.aspx) to retrieve the time zone information of the user. Since you will be accessing local operating system information, your form may require full trust.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.