V
vertigo
Hello
How can i count how many there were days since 1 Jan 1970 ?
Thanx
Michal
How can i count how many there were days since 1 Jan 1970 ?
Thanx
Michal
vertigo said:How can i count how many there were days since 1 Jan 1970 ?
Gunnar said:vertigo wrote:
int time / 86400
Purl said:Does that include compensation for leap seconds? =)
No, that would be an exercise for a time connoisseur.
int time / 86400 = 12606
time / 86400 = 12606.8128240741
You boys are about a day behind us girls, plus or minus a wink or two.
Purl said:Since Jan 1, 1970, 34 years and 189 days.
(34 * 365.2425) + 189 = 12607.245 days (plus or minus a second or two)
time / 86400 = 12606.8128240741
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.