[thelist] [PHP] strtotime not picking up mins and seconds...?

Daniel Burke dan.p.burke at gmail.com
Mon Jul 13 09:37:13 CDT 2009


It's been a while so I could be way off, but could it be because
you're using english date, as opposed to ISO date....
yyyy-mm-dd hh:mm:ss

regards,

dan
--
"It's your privilege as an artist to inflict the pain of creativity on
yourself." --Programming Perl 3rd Edition, end of first chapter.



On Mon, Jul 13, 2009 at 9:39 PM, Tris<beertastic at gmail.com> wrote:
> Any ideas why:
> $myTimeStamp = strtotime ("15/07/2009 12:30:00");
>
> gives an empty variable?
> PHP.net is not my friend today..
>
> Tris...
>
> --
> "The only people who don't make mistakes are those who don't do anything"
>
> Give a man a fish and he'll feed himself for a day.
> Give a man a religion and he'll starve to death praying for a fish.
> Anon
>
> `We are what we pretend to be, so we must be careful what we pretend to be.`
> Kurt Vonnegut
>
> `When a person can no longer laugh at himself, it is time for others
> to laugh at him.`
> Thomas Szasz
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list