Unix time converter
April3
Thanks to the Captain for the handiest Unix time -to- date converter, and vice versa!
And in case you ever need to create a Unix time format, you can use php’s date and mktime functions to do so:
$hour= date(“H”);
$minute= date(“i”);
$second= date(“s”);
$day = date(“j”);
$month = date(“n”);
$year = date(“Y”);
$unix_time = mktime($hour,$minute,$second, $month, $day, $year);
You can override your server’s timezone setting using date_default_timezone_set.
//