Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php createFromFormat day of week

<?php
$date = DateTime::createFromFormat('Y-m-d', '2018-06-21');
echo $date->format('l'); # l for full week day name
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #createFromFormat #day #week
ADD COMMENT
Topic
Name
1+6 =