- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use and develop for Windows XP and Windows 2000.
My question (I don't think this is a bug) is how does IVF's date_and_time intrinsic interact with the OS?
The reason I as is because I have an environment variable (TZ) set to EST and date_and_time returns time of day as UTC (difference from UTC is 0); users who don't have TZ set (in my case, everybody else) gets their time in the appropriate local time zone (right now, for us, EST).
I use the the local time zone from Windows, e.g., set with the Windows "date and time properties" box.
My question (I don't think this is a bug) is how does IVF's date_and_time intrinsic interact with the OS?
The reason I as is because I have an environment variable (TZ) set to EST and date_and_time returns time of day as UTC (difference from UTC is 0); users who don't have TZ set (in my case, everybody else) gets their time in the appropriate local time zone (right now, for us, EST).
I use the the local time zone from Windows, e.g., set with the Windows "date and time properties" box.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It asks the OS what the local date and time is, which typically is offset from UTC (unless your local time is UTC.) Note that there is also a time zone offset value that can be returned. As far as I know, it doesn't know what to do with a TZ environment variable.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page