Results 1 to 2 of 2

Thread: date function in gnome-terminal

  1. #1
    Join Date
    Aug 2008
    Location
    Reykjavik, Iceland
    Posts
    75

    Default date function in gnome-terminal

    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

  2. #2
    Camalen NNTP User

    Default Re: date function in gnome-terminal

    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,

    --
    Camalen

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •