Skip to content

How to check the day of any date in PHP?

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

$day = date('D', $timestamp);
var_dump($day);
See also  How to print the fibonacci sequence in Python using while loop?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.