You are here: Re: date and time stamp « PHP Programming Language « IT news, forums, messages
Re: date and time stamp

Posted by Lisa Pearlson on 11/15/99 11:24

oops, I just showed that you can format a time() just like a date, but both
give both date AND time.
Just use G:i:s or H:i:s as the format string.

"Lisa Pearlson" <no@spam.plz> wrote in message
news:43071870$0$29469$e4fe514c@dreader24.news.xs4all.nl...
> echo strftime("d-m-y", time());
>
> "Des" <desotuatail@aol.com> wrote in message
> news:1124528797.854661.307780@z14g2000cwz.googlegroups.com...
>>I am trying to write a date and time stamp to a file
>> Date("d-m-y") is ok but time(void) gives me 1124528448
>> Can I format time into a H:M:S format
>>
>> Desmond.
>>
>
>

 

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

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