PCHomepage
Programmer
I am trying to add form fields to enter dates and times in standard formats (or from selectors) that will convert it to a Unix timestamp, or in most cases, a NEGATIVE timestamp as many of the dates are pre-1970. Any ideas on how to accomplish this?
Something like this but which will work with both normal and negative timestamps.
Thank you in advance.
Something like this but which will work with both normal and negative timestamps.
Code:
int strtotime ( string $time [, int $now = time() ] );
Thank you in advance.