DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit