Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

strtotime last day of month

$lastDateOfMonth = date("Y-m-t", strtotime('2022-08-25')); // 2022-08-01
Source by thisinterestsme.com #
 
PREVIOUS NEXT
Tagged: #strtotime #day #month
ADD COMMENT
Topic
Name
4+4 =