PHP date() returns odd values
Posted
by Toast
on Stack Overflow
See other posts from Stack Overflow
or by Toast
Published on 2010-03-18T20:28:40Z
Indexed on
2010/03/18
20:31 UTC
Read the original article
Hit count: 130
echo date("W",strtotime('2010-01-01'));
This outputs 53. I would expect it to output 1. Can anyone else confirm this behavior, or maybe explain why? I couldn't find a bug report on it.
© Stack Overflow or respective owner