06-15-2015 12:50 PM
I cannot figure this one out. I am just trying to do an ETI for program run time. When I run this thing, it starts at the hour = 6. I formatted the timestamp indicator and tried another defualt one and they both start at the hour of 6 instead of 0. How do I get this hour to start at 0?
Solved! Go to Solution.
06-15-2015 01:14 PM - edited 06-15-2015 01:24 PM
On my computer, I see 4 instead of 6 because of our differing timezones.
Your problem is that the timestamp indicators are absolute time, which is just how timestamps work. This is why one of the indicators says 1903. The data type of a timestamp is still just a DBL as a count of seconds. When it's formatted in to a timestamp, the timestamp is based on seconds since 1/1/1904 midnight Greenwich mean time. If your timestamp differs from that, you get a different count from zero. In order to display the relative time, you need to use a numeric indicator and format it to display as a relative time.
See attached VI that I altered.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-15-2015 01:22 PM
06-15-2015 02:11 PM
thanks, that is the simple clarification I was looking for!