03-14-2008 10:55 AM
03-14-2008 11:09 AM
03-14-2008 11:18 AM
Oh, Get Date/Time gets time in UTC. I am in the Mountain Time Zone so that explains the 7 hour difference. Guess I just need to add that to my calculated time and i should be good. Thanks, I feel kinda stupid now.....but thats the way to learn sometimes.![]()
Paul
03-14-2008 11:23 AM
It sounds like a time zone correction is coming in somewhere. Are you in a -7hr (or +7hr) zone? I think that's Mountain zone in USA.
Are you interested in the number of seconds since your specified time GMT, or the number of seconds since the specified time in your time zone. I would guess that the website is showing one of these options, and LabVIEW the other one.
For instance, I am in GMT time zone, and your code telle me that it is now 1205511555 seconds 01 /01/1970 00:00:00 (Now = approx 16:19 GMT)
Put the time zone display on your time constant, and you will see what difference you are measuring. (Properties -> Format and precisiopn -> Display Time Zone)
Rod.