Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Y2038 on PerlMonks

by bulk88 (Priest)
on Jun 04, 2012 at 20:49 UTC ( #974375=monkdiscuss: print w/replies, xml ) Need Help??

I just noticed, NodeReaper was last here in 1906. Now its not 1901, the start of signed 32bit unix time but still. Does this mean PerlMonks isn't Y2038 safe?

Replies are listed 'Best First'.
Re: Y2038 on PerlMonks
by jdporter (Canon) on Jun 04, 2012 at 21:10 UTC

    Frankly, I'm not sure we're Y2K safe.

      Well, obviously it survived.

      OP: The Everything core doesn't have to use the epoch seconds for date fields. I don't know what it does use, but dates can also be represented as 20120604T165834, for example.
      Frankly, I think it will be okay. Heh, maybe it won't even be around anymore by then or have been replaced with something more modern. I would actually be worried if they still used this exact code then.

      Update: s/epoch times/epoch seconds/ && s/date calculations/date fields/

      confess( "I offer no guarantees on my code." );

        Actually, most of what PerlMonks/Everything does in terms of dates, it does using database dates. After all: Everything is a (database) node.

Re: Y2038 on PerlMonks
by Limbic~Region (Chancellor) on Jun 05, 2012 at 13:54 UTC
    There are a number of "easter eggs" about NodeReaper. The year plays into one of them - see if you can figure it out (it has nothing to do with 2038).

    Cheers - L~R

      It could perhaps be updated now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://974375]
Approved by Old_Gray_Bear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-06-23 01:46 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.