If it is stored in a database, you may want to convert within your query:
MySQL: date_format
Postgresql: to_char

If it's just in a text file, PHP's date() function should do it:
http://php.net/date

I dunno if there's a nifty constant for the format you want, but you
could always mess with mktime and date to get what you want.
http://php.net/mktime

On Tue, January 2, 2007 6:39 am, Steven Macintyre wrote:
> Hi all,
>
> I am unable to find out how to do this ... or what the format is
> "called"
> bar zulu format
>
> I have standard 00:00:00 time stored ... and wish to display it as
> 00h00 ...
> has anyone done this with php ... can you point me to right page etc
> ...
>
> What is that format called?
>
>
>
> Kind Regards,
>
>
> Steven Macintyre
> http://steven.macintyre.name
> --
>
> http://www.friends4friends.co.za
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to