Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

DateTime and Timestamps

$dateTime = new DateTime('2016-05-20');
echo $dateTime->getTimestamp();

# Output: 1271802325
 
PREVIOUS NEXT
Tagged: #DateTime #Timestamps
ADD COMMENT
Topic
Name
4+8 =