Whilst testing to find the upper limits of time/hour (for an up-time
monitoring script)
I came across these anomalies in time!

Can anyone explain what is happening here?
How come some large numbers for hours give an error and others
return bizare numbers?

 x: 2000:10:12
== 2000:10:12
>> x: 200000:10:12
== 200000:10:12
>> x: 2000000:10:12
** Syntax Error: Invalid time -- 2000000:10:12.
** Where: (line 1) x: 2000000:10:12
>> x: 2000000:10:12
** Syntax Error: Invalid time -- 2000000:10:12.
** Where: (line 1) x: 2000000:10:12
>> x: 20000000:10:12
** Syntax Error: Invalid time -- 20000000:10:12.
** Where: (line 1) x: 20000000:10:12
>> x: 200000000:10:12
** Syntax Error: Invalid time -- 200000000:10:12.
** Where: (line 1) x: 200000000:10:12
>> x: 2000000000:10:12
** Syntax Error: Invalid time -- 2000000000:10:12.
** Where: (line 1) x: 2000000000:10:12
>> x: 20000000000:10:12
== -231041:32:12
>> x: 200000000000:10:12
== 75676:02:44
>> x: 2000000000000:10:12
== -436287:32:44
>> x: 20000000000000:10:12
== 409308:53:56

Cheers,

Allen K

Reply via email to