05.01.2013, 20:35
A timestamp, as in unix timestamp. That might not be the current time!
It's rather easy to calculate this because you know that the epoch is 01/01/1970 00:00:00. If you give me a minute I'll write a function for it. I might need it as well. Edit: alright, scratch that. It's harder than it looked like. Leap years and shit.
It's rather easy to calculate this because you know that the epoch is 01/01/1970 00:00:00. If you give me a minute I'll write a function for it. I might need it as well. Edit: alright, scratch that. It's harder than it looked like. Leap years and shit.