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]
|