[Phpwm] strtotime() date format
phil at infolinkelectronics.co.uk
Tue Sep 18 14:56:18 BST 2007
> What's an elegant way of getting around the fact that strtotime()
> expects US English dates (mm/dd/yy) instead of dd/mm/yy? Say for
> instance if I wanted to do something easy, like work out the number of
> days between the strings '13/01/07' and '01/02/07'?
> Explode the dates on slashes and feed them in the wrong way round?
Format the string using strftime() perhaps?
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.22/1013 - Release Date: 17/09/2007
More information about the Phpwm