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