Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php date to seconds

<?php
$str = 'Tue Dec 15 2009';
$timestamp = strtotime($str);
echo $timestamp;
//output: 1260831600
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #date #seconds
ADD COMMENT
Topic
Name
8+7 =