Skip to content

How to check the day of any date in PHP?

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

$day = date('D', $timestamp);
See also  Python code snippet - How to pass arguments to script from bash?

Leave a Reply

Your email address will not be published. Required fields are marked *

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