Time Zones - InfoPath Dev
in

InfoPath Dev

Time Zones

Last post 01-02-2007 09:24 AM by Greg Collins. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-22-2006 12:15 PM

    Time Zones

    I currently have text box formated to Time. Is it possible to have this time adjusted to PST based on the time they enter compared to their local settings?

    So for example, If I am on the east cost and I enter a time of 8:00 AM the time is converted to 5:00 AM, as that is the correct time in PST?

    Do I need to perform some sort of coding for this to take place?
  • 12-23-2006 09:41 PM In reply to

    This is a pretty cool idea, but I think you should be able to accomplish this via managed code. This will take a little bit of researching, but to get you started check out the .NET docoumenation around these classes:

    - System.Environment
    - DateTime

    If you get this figured out, please post back with your results as I am interested to see how this can be done!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 01-02-2007 09:24 AM In reply to

    InfoPath stores time without the timezone information. Though timezone info is valid, it just doesn't get added. You can manaully add the timezone information to your time fields onchange. I'm not sure if that will then translate to display properly when opened in a different timezone, though I think it should.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.