You are here: Re: Mon Oct 24 00:00:26 2005 as 2005-10-24 00:00:26 « PHP Programming Language « IT news, forums, messages
Re: Mon Oct 24 00:00:26 2005 as 2005-10-24 00:00:26

Posted by NC on 10/26/05 03:19

Chuck Anderson wrote:
> NC wrote:
> >
> > date('Y-m-d H:m:s', strtotime('Mon Oct 24 00:00:26 2005'))
>
> I wasn't aware of this shortcut. I think I'll switch to this method for
> converting times from my apache server access logs.
>
> However, you meant:
> echo date('Y-m-d H:i:s', .....
> not
> echo date('Y-m-d H:m:s', .....
>
> (i for minutes, not m)

Of course. A really dumb typo... Thank you for your correction.

Cheers,
NC

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация