Working with Dates and Times in PHP - First Step
(Page 2 of 6 )
Now, the first step in our move is we have to know what value the time function in PHP produces. Run this code on your server:
You will see a line of numbers in your browser. That is the number of seconds since the epoch. The epoch was on January 1st 1970. This line of numbers is called a UNIX timestamp.
blog comments powered by