php get day from date
snippet in php

php get day from date

user1450

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

$day = date('D', $timestamp);
var_dump($day);

get day from date php

user313

// Prints the day
echo date("l") . "<br>";