*This message was transferred with a trial version of CommuniGate(tm) Pro*
Rick,

You can use date() in the following fashion..

$timeStamp = time();
date('m-d-y : h-m', $timeStamp);

where $timestamp is a unix epoch timestamp.

Hope this helps!

Rolf Brusletto
http://www.phpexamples.net

Rick Dahl wrote:

*This message was transferred with a trial version of CommuniGate(tm) Pro*
I want to print out a timestamp of length 14. I want to have it formatted like:


mm-dd-yy : hh-mm

I have looked but all I can find is how to format a date and I don't want that. I want the time also.

Rick



"Don't burn the day...away" ~ DJM

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail





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



Reply via email to