For some reason the range for the “date” function seems to be limited on my machine,
date -d 2038-1-1 +%s 2145916800
date -d 2039-1-1 +%s date: invalid date `2039-1-1’
Specs ::
Gnome Version: 2.22.1-22.1 openSUSE version : 11.0
uname -a Linux virgil 2.6.25.20-0.4-default #1 SMP 2009-06-01 09:57:12 +0200 i686 i686 i386 GNU/Linux
plesset wrote:
> For some reason the range for the “date” function seems to be limited on > my machine, > > date -d 2038-1-1 +%s > 2145916800 > > date -d 2039-1-1 +%s > date: invalid date `2039-1-1’
He, he… no, maybe another problem:
Year 2038 problem http://en.wikipedia.org/wiki/Year_2038_problem
BTW, it runs fine on 64 bits systems
Greetings,
– Camaleón