[Phpwm] strtotime() date format

alan dunn alan at dunns.co.uk
Wed Sep 19 13:42:57 BST 2007

I agree with the thread saying tie down the input format so you don't 
have to deal with strange input. We use a  java dynamic calendar which 
pops up a calendar page and allows the user to select a date - try 
googling DynCalendar
alan dunn

David Goodwin wrote:
> Hash: SHA1
> David Edwards wrote:
>> 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?
> Vote for :  http://bugs.php.net/bug.php?id=42698
> !!
> David.
> - --
> David Goodwin
> [ david at codepoets dot co dot uk ]
> [ http://www.codepoets.co.uk       ]
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFG8QuF/ISo3RF5V6YRAi/2AJ0ZtYJLmApJKk4EMio+w7uetx7N8gCcD7lo
> iMVIt9YYIfup+9SrILbLFSc=
> =BvWr
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm



This document originates from within Dunns Imaging Group Limited.
This message, together with any associated files, is intended only for 
the use of the individual or entity to which it is addressed and may 
contain information that is confidential, subject to copyright or 
constitutes a trade secret. If you are not the intended recipient of 
this communication you are hereby notified that any dissemination, 
copying or distribution of this message, or of any files associated with 
this message, is strictly prohibited.
If you have received this message in error, please notify us at once.

Dunns Imaging Group Ltd.
Registered Office: Chester Road Cradley Heath West Midlands B64 6AA.
Tel: 01384 564770
Registered in England 598527.

More information about the Phpwm mailing list