Re: About date & time...
| From: | tedd | Date: | Tue, 28 Feb 2006 22:34:03 +0000 |
| Subject: | Re: About date & time... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231237@lists.php.net to get a copy of this message | ||
Gustav:
I'm a swede, and I we use hours 0 - 24.Well... I don't know what I am, but non sum qualis eram. In any event, you want military time -- simple enough -- just change the h to H, like so: echo("Time: " . date('H\:\ i\:\ s') . "<br/>" ); You can find more code examples at: http://www.weberdev.com/AdvancedSearch.php?searchtype=title&search=date&Submit1.x=0&Submit1.y=0 Also, you need to review the php manual regarding date() -- it's a super function that has lot's of formatting symbols. tedd -- -------------------------------------------------------------------------------- http://sperling.com