PDA

View Full Version : NZB Dates



f35
01-22-2011, 08:19 PM
Does anyone know how to "read" the plaintext dates in NZBs? For example:

date="1295496895"
...is displayed as GMT 4:14:55 Thursday 2011.01.20 in a newsreader. :blink:

anon
01-22-2011, 08:22 PM
It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.

f35
01-22-2011, 08:38 PM
Wow, thanks - I didn't know that. I tested it with a calculator and it works :D

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

Cabalo
01-23-2011, 02:10 AM
It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.

:blink: Fuck, I had no idea about that!

tesco
01-23-2011, 02:13 AM
It's Unix time. It represents the amount of seconds that have passed since the midnight of January 1, 1970, without counting leap seconds.

:blink: 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. :lol:

anon
01-23-2011, 03:25 AM
The problem with it is that when we reach January 19, 2038, we will need another digit. It will be the next y2k. :lol:

A graphical example:
http://upload.wikimedia.org/wikipedia/commons/e/e9/Year_2038_problem.gif

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

iLOVENZB
01-24-2011, 11:33 AM
:wacko:

bijoy
01-24-2011, 03:06 PM
The problem with it is that when we reach January 19, 2038, we will need another digit. It will be the next y2k. :lol:

A graphical example:
http://upload.wikimedia.org/wikipedia/commons/e/e9/Year_2038_problem.gif

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

:blink::w00t:
Its live!!!!