Hi All,
I live within the timezone GMT+1, When i calc 850 seconds with the Datetime.time function it gives one hour extra.
Look at this code :
Dim u_sec, u_min, u_hour
u_sec = Floor( 850 Mod 60 )
u_min = Floor( 850 / 60 Mod 60 )
u_hour = Floor( 850 / 3600 Mod 24 )
Log( u_hour & " " & u_min & " " & u_sec )
Log( DateTime.Time( DateTime.TicksPerSecond * 850 ) )
Is this timezone related perhaps ? Has someone else encouterd this problem in the past ?
Greetz Ruud
I live within the timezone GMT+1, When i calc 850 seconds with the Datetime.time function it gives one hour extra.
Look at this code :
Dim u_sec, u_min, u_hour
u_sec = Floor( 850 Mod 60 )
u_min = Floor( 850 / 60 Mod 60 )
u_hour = Floor( 850 / 3600 Mod 24 )
Log( u_hour & " " & u_min & " " & u_sec )
Log( DateTime.Time( DateTime.TicksPerSecond * 850 ) )
Is this timezone related perhaps ? Has someone else encouterd this problem in the past ?
Greetz Ruud