jbrohan Posted August 1, 2005 Report Share Posted August 1, 2005 Here is a Pure G (LV6.1) solution to the question Quote Link to comment
PJM_labview Posted September 28, 2005 Report Share Posted September 28, 2005 Here is a Pure G (LV6.1) solution to the question "Which Time Zone am I in?" I'd be very interested to know if it works where you are! The Excel toolkit is under construction and I need a robust date routine.TimeZone Conversions of dates in MS Excel requires you to know the time zone where the date was recorded(!). This program compares the time from the LabVIEW function "Seconds to date/time" with 24 to find the actual offset in hours from Greenwich. If it is Daylight Savings time now, where the computer is, then you will need to modify the standard time offset by one hour. The TimeZone is needed in the routines to read and write times to Excel. jb August 2005 (DST) David A Moore has some free VIs that operate on time. I think they might be usefull for your application. PJM Quote Link to comment
BChandler Posted September 28, 2005 Report Share Posted September 28, 2005 David A Moore has some free VIs that operate on time. I think they might be usefull for your application. PJM No, sorry. That toolkit suffers from the same glitch. Try it on a timezone like Newfoundland (GMT-3:30) It returns -3:00. See the attachment to my post yesterday for two corrected vi's. Same technique,use LV time=0 to get the UTC offset, just have to add minutes/60 to the hours. -WDC Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.