Page 1 of 1

So I didn't know mm2x forum was around in 1969...

Posted: Thu Jul 24, 2008 9:40 pm
by HummersRock
For proof look at where it shows the last post of the tracks forum. :lol:

It said the same about the general forum before I posted.

Posted: Thu Jul 24, 2008 9:47 pm
by Franch88
I don't know what happened in my absence today. Maybe someone posted a post or a topic in this and in Tracks sections, and after deleted it the forum shows the minimum date available. Anyway isn't something important.

Posted: Fri Jul 25, 2008 1:33 am
by Anthony
Firstly technically 1969 is impossible as the time() function only goes back as far as 1970. However in theory with time zone is could be calculated as into 1969 by a few hours.

-----

edit, for me (in GMT) the last post is "1970-01-01, 00:00:00" that is when time began.
0 translates to Thursday, January 1st 1970, 0:00:00 (GMT)
Source https://www.4webhelp.net/us/timestamp.php

Posted: Thu Jul 31, 2008 7:55 pm
by Franch88
Anyway, the problem was given by this: the PHP mktime() function was replaced by the setlocale() one, so the dates of the last, maybe deleted, post in those sections was resetted.
Also, in the downloads page there was this kind of error given by this change.

Code: Select all

"Warning: mktime() expects parameter 1 to be long, string given in /web/htdocs/www.mm2x.com/home/modules/Downloads/index.php on line XXX"
All this made a lose of some uploaded pictures too.

Posted: Mon Jan 19, 2009 2:46 am
by Seb_3565
Weird :D . The Javascript time function (for cookies and clocks etc.), goes back to the start of the 70's as well.

P.S. Forums (and the internet, did not exist in the 60's, 70's and early to the middle of the 80's.

P.P.S. 01.01.1971 is when the PHP time functions started (but not created)

Posted: Mon Jan 19, 2009 3:17 am
by kylej866
You dont have to tell us random facts or put PS or PPS after a line break...

Posted: Mon Jan 19, 2009 6:58 pm
by Anthony
Weird :D . The Javascript time function (for cookies and clocks etc.), goes back to the start of the 70's as well.

P.S. Forums (and the internet, did not exist in the 60's, 70's and early to the middle of the 80's.

P.P.S. 01.01.1971 is when the PHP time functions started (but not created)
its nothing to do with php, the standard time format is know as the "Unix Time Stamp" which is measure in seconds since whenever it was. Almost all software (with the eception of microsoft who are always different) worked on the Unix Tiem stamp and therefore pretty much all software you will see done it, it shoudl be the case in c++ delphi, php, java, phyton ect. (I stand to be corrected there).