Req #53650 [Com]: Fail on strtotime('last day of this year')
Edit report at https://bugs.php.net/bug.php?id=53650&edit=1
ID: 53650
Comment by: lidawas at outlook dot com
Reported by: tripollite at gmail dot com
Summary: Fail on strtotime('last day of this year')
Status: Open
Type: Feature/Change Request
Package: Date/time related
Operating System: Debian
PHP Version: 5.3.4
Block user comment: N
Private report: N
New Comment:
داÙÙÙØ¯ Ø¢ÙÙÚ¯ Ø¬Ø¯ÛØ¯ Ø§ÛØ±Ø§ÙÛ Ø§Ø²
اصÙÛâØªØ±Û٠سرگرÙ
Û ÙØ§ Ù ØØªÛ
ÙÛØ§Ø² ÙØ§ در ÙØ¶Ø§Û Ù
Ø¬Ø§Ø²Û Ù
پرÙ
Ø®Ø§Ø·Ø¨âØªØ±ÛÙ Ù
ÙØ¶Ùعات در
اÛÙ ÙØ¶Ø§ بÛÙ Ø§ÛØ±Ø§ÙÛØ§Ù ب٠شÙ
ار
Ù
ÛâØ¢ÛØ¯.
https://liwa.ir/داÙÙÙØ¯-Ø¢ÙÙÚ¯-Ø¬Ø¯ÛØ¯/
Previous Comments:
------------------------------------------------------------------------
[2016-01-11 06:12:34] ryosvashek at gmail dot com
Just hit the same snatch.
Had to go with date('last day of December '.date('Y'))
Will love to have this in the feature.
------------------------------------------------------------------------
[2015-03-06 11:41:14] emshidiq at gmail dot com
you can use "last day of december" :D
------------------------------------------------------------------------
[2011-01-04 19:48:38] derick@php.net
Ah, I see it. "last day of" is only implemented for "month", not
"year". Obviously, the first and last days of a year are always going to be the same: Jan
1st, and Dec 31st. I'm leaving this as a Feature Request.
------------------------------------------------------------------------
[2011-01-04 19:44:30] derick@php.net
All right. Will check.
------------------------------------------------------------------------
[2011-01-04 19:31:24] tripollite at gmail dot com
Europe/Paris
1293840061: 2011-01-01 01:01:01 Europe/Paris
1296432061: 2011-01-31 01:01:01 Europe/Paris
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=53650
--
Edit this bug report at https://bugs.php.net/bug.php?id=53650&edit=1
Thread (10 messages)