Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get day from date

$timestamp = strtotime('2009-10-22');

$day = date('D', $timestamp);
var_dump($day);
 
PREVIOUS NEXT
Tagged: #php #day #date
ADD COMMENT
Topic
Name
6+4 =