I am using XAMPP as my webserver. I have a script that is posting time that, unformatted, appears as: 1250178727
After running date conversion on it, it appears as: 1969-12-31
Lol, it was not posted in 1969. Do I need to convert it with h,m,s included, is it a conversion problem or is there a setting in XAMPP that controls the current time and date?
I can't find anywhere in that page that offers a cure for the wrong year being displayed.
You were right. What caused my error was I was converting string to time when the string was ALREADY time.
After running date conversion on it, it appears as: 1969-12-31
Lol, it was not posted in 1969. Do I need to convert it with h,m,s included, is it a conversion problem or is there a setting in XAMPP that controls the current time and date?
I can't find anywhere in that page that offers a cure for the wrong year being displayed.
You were right. What caused my error was I was converting string to time when the string was ALREADY time.