Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to Convert Timestamp to Date in PHP?

laravel convert timestamp to date
date('Y-m-d', strtotime($date));

laravel convert date to timestamp
date('Y-m-d H:i:s', strtotime($date));
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #How #Convert #Timestamp #Date
ADD COMMENT
Topic
Name
8+5 =