parametr for date function code example Example: get day from date php // Prints the day echo date("l") . "<br>";