View Single Post
Old 07-29-2008   #3
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Do You Know?! -1-

Quote:
Originally Posted by chaingang_100 View Post
Why from January 1 1970???? and btw it's: 1216954622737ms
I really don't know why god created it to start counting from that date
If you can tell us, we would be very thankful

And take this second example:


Code:
<script>   
var minutes = 1000*60;
var hours = minutes*60;
var days = hours*24;
var years = days*365;
var d = new Date();
var t = d.getTime();
var y = t/years;
document.write("It's been: " + y + " years since 1970/01/01!");     
</script>
This example will calculate the number of years since 1970/01/01 !
Google is offline   Reply With Quote
The Following 2 Users Say Thank You to Google For This Useful Post:
Justin (07-31-2008), Kingroudy (07-29-2008)