‎06-13-2008 07:54 AM - edited ‎06-13-2008 07:59 AM
‎10-06-2009 04:14 AM
I had a similar problem. I thought it was an intentional feature.
I frequently work with GMT date & timestamped data as an int/double number of seconds or hours. Is there a sensible philosophy of displaying such data on a graph (with X-axis selected as 'Absolute time') without having to first convert the times into system timezone-dependent numbers? What I am doing at the moment is reading the GMT data in, converting it into timezone dependent values to display and manipulate (by applying the method above), then converting the results back again in order to output correct GMT to various files.
I always find it hard to work with time in Labview because you need to keep a close eye on local system timezone settings, unless you ensure that you set the PC's clock to GMT non-daylight savings (not an option for me). It is great that there is now an on/off UTC option for some of the time related VIs.
I don't want to mess around with timestamp datatype because I need to perform manipulation such as division and can't get that to work with timestamps.
Thanks.
‎10-06-2009 04:27 AM
"LabVIEW 8.5(.1) apparently changed that behaviour to always use the timezone offset of the actual timestamp and since 2 Jan 1904 was probably in every country (at least on the northern hemisphere) non-DST"
DST really seems to be implemented by politicians at times of political need, e.g. WW1 & WW2, or to meet energy requirements in the case of the US. Most countries did not have DST until post WW2.
see below.
http://en.wikipedia.org/wiki/Daylight_saving_time_around_the_world
(Major bug)
‎10-06-2009 04:30 AM
jimfoxy wrote:I had a similar problem. I thought it was an intentional feature.
I frequently work with GMT date & timestamped data as an int/double number of seconds or hours. Is there a sensible philosophy of displaying such data on a graph (with X-axis selected as 'Absolute time') without having to first convert the times into system timezone-dependent numbers? What I am doing at the moment is reading the GMT data in, converting it into timezone dependent values to display and manipulate (by applying the method above), then converting the results back again in order to output correct GMT to various files.
I always find it hard to work with time in Labview because you need to keep a close eye on local system timezone settings, unless you ensure that you set the PC's clock to GMT non-daylight savings (not an option for me). It is great that there is now an on/off UTC option for some of the time related VIs.
I don't want to mess around with timestamp datatype because I need to perform manipulation such as division and can't get that to work with timestamps.
Thanks.
It is not a LabVIEW problem really but simply a problem of any application running on a localized date/time system. And since time in any other form than SI normalized is a ratherbeasty thing, it gets troublesome to deal with it in software.
Rolf Kalbermatter