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 read a pkl file in Python?

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.