Answers for "php day in seconds"

PHP
0

php date to seconds

<?php
$str = 'Tue Dec 15 2009';
$timestamp = strtotime($str);
echo $timestamp;
//output: 1260831600
?>
Posted by: Guest on May-23-2020

Browse Popular Code Answers by Language