LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why start a timecontrol with 01:00

The timecontrol seems to be related to the offset from Greenwich-time i.e. in the Netherlands 01:00 hour.
If i set my timezone to Greenwich the timecontrol starts with 00:00
0 Kudos
Message 1 of 3
(2,770 Views)
Henk,

It's defined like this (from the LV Help):

Get Date/Time In Seconds
Returns a time-zone-independent number that contains the number of seconds
that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time.

It's time-zone-independent, because a certain moment (e.g. now) results in
the same number (DBL) all over the world, even if the actual times are
different because of the timezones.

Regards,

Wiebe.

"Henk" wrote in message
news:506500000008000000396E0000-1031838699000@exchange.ni.com...
> The timecontrol seems to be related to the offset from Greenwich-time
> i.e. in the Netherlands 01:00 hour.
> If i set my timezone to Greenwich the timecontrol starts with 00:00
0 Kudos
Message 2 of 3
(2,770 Views)
Wiebe,

This is not what I was trying to accomplish.
I want to use a numeric control in the date/time-format so that the user can adjust a timer in my program.
You can use the attached file to see what the problem is, when you adjust your timezone the �zero� in the TimeControl will change.

Henk
0 Kudos
Message 3 of 3
(2,770 Views)