Results 1 to 8 of 8

Thread: NZB Dates

  1. #1
    Does anyone know how to "read" the plaintext dates in NZBs? For example:
    Code:
    date="1295496895"
    ...is displayed as GMT 4:14:55 Thursday 2011.01.20 in a newsreader.

  2. Newsgroups   -   #2
    It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.
    "I just remembered something that happened a long time ago."

  3. Newsgroups   -   #3
    Wow, thanks - I didn't know that. I tested it with a calculator and it works

    41 years
    19 days (29 - 10 [There have been 10 leap years since 1970])
    4 hours
    14 minutes
    55 seconds

  4. Newsgroups   -   #4
    Cabalo's Avatar FileSharingTalker BT Rep: +24BT Rep +24BT Rep +24BT Rep +24BT Rep +24
    Join Date
    Mar 2007
    Location
    European Union
    Age
    47
    Posts
    11,849
    Quote Originally Posted by anon-sbi View Post
    It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.
    Fuck, I had no idea about that!

  5. Newsgroups   -   #5
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    Quote Originally Posted by Cabalo View Post
    Quote Originally Posted by anon-sbi View Post
    It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.
    Fuck, I had no idea about that!
    It's widely used in internet apps and other softwares.
    The problem with it is that when we reach January 19, 2038, we will need another digit. It will be the next y2k.

  6. Newsgroups   -   #6
    Quote Originally Posted by tesco View Post
    The problem with it is that when we reach January 19, 2038, we will need another digit. It will be the next y2k.
    A graphical example:


    Switching to a 64-bit integer before that date would pretty much solve the problem for a long time
    Last edited by anon; 01-23-2011 at 03:27 AM.
    "I just remembered something that happened a long time ago."

  7. Newsgroups   -   #7
    iLOVENZB's Avatar FST Crew BT Rep: +1
    Join Date
    Sep 2008
    Location
    Land gurt by sea
    Posts
    8,331
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music"

  8. Newsgroups   -   #8
    bijoy's Avatar secret lover BT Rep: +1
    Join Date
    Aug 2010
    Posts
    1,820
    Quote Originally Posted by anon-sbi View Post
    Quote Originally Posted by tesco View Post
    The problem with it is that when we reach January 19, 2038, we will need another digit. It will be the next y2k.
    A graphical example:


    Switching to a 64-bit integer before that date would pretty much solve the problem for a long time

    Its live!!!!
    Teh n00b.

Bookmarks

Posting Permissions

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