Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php strtotime

echo strtotime("now"); //1624416532
echo date("d M. Y", strtotime("now")); // 23 Jun. 2021

$time_c = strtotime("2021-06-07 05:57:51");
echo date("d M. Y", $time_c); // 07 Jun. 2021
echo date("H:i", $time_c); // 05:57
 
PREVIOUS NEXT
Tagged: #php #strtotime
ADD COMMENT
Topic
Name
1+5 =