-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Set timezone to UTC
Home > Community > Automation and VBA > Set timezone to UTC
- This topic has 2 replies, 2 voices, and was last updated 19 years, 9 months ago by n.flamisch@ibflamisch.at.
-
AuthorPosts
-
February 15, 2005 at 7:27 pm #12434n.flamisch@ibflamisch.atMember
To avoid problems with daylight saving time and different timezones, I want to set the timezone to UTC when I start FlexPro. Is there a VBA script that can manage this ?
February 16, 2005 at 1:42 am #8727Bernhard KantzParticipantFlexPro saves calendar times as numerical values which contain the number of seconds since the 1. 1. 1970 in “Universal Time Coordinated” (UTC). Using a calendar time formatter, you can display these numerical values as a calendar time. FlexPro thereby converts the UTC values automatically into the time zone set in the Control Panel. Using an option, however, you can specify that the output is to be in coordinated world time. The formatter specifies which elements of an UTC time value should be displayed.
If you change the global time zone (set in the Control Panel) FlexPro must be restarted!
VBA doesn’t give you any built-in functions for determining either GMT or your offset from it, or what time zone your are located in. Therefore, you’ll have to use the Windows API (or Application Programmatic Interface) calls, to get this information directly from Windows.
See also Microsoft Article “How to change time zone information by using Visual Basic” (Article ID 221542). http://support.microsoft.com/kb/221542/en-us
February 16, 2005 at 1:42 am #8115n.flamisch@ibflamisch.atMemberTo avoid problems with daylight saving time and different timezones, I want to set the timezone to UTC when I start FlexPro. Is there a VBA script that can manage this ?
-
AuthorPosts
- You must be logged in to reply to this topic.