DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php get first and last day of previous month
date
(
'Y-m-01'
,
strtotime
(
'last month'
)
)
;
date
(
'Y-m-t'
,
strtotime
(
'last month'
)
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#day
#previous
#month
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit