PHP unix timestamp generator
What is Unix time stamp ?
This is a way to describe time elapsed since 1st Jan 1970 to present date or any other date. This is given in seconds.
Generating Unix time stamp
The form you see below submits to itself and with all the variables selected by the drop down boxes first one function is executed to check the entered date is a valid date or not. For this the function checkdate() is used. The function receives month, date and year and returns TRUE if date is a valid. After this check, the function mktime() generates the time stamp with all the inputs.
0 comments:
Post a Comment