appreciate the headsup, but all times will be from when record is
inserted which will not be possible before today.

thanks,
m. 

-----Original Message-----
From: Jordan S. Jones [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 28, 2004 2:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] datetime formatting problem


[snip /]

>Hi Matt,
>
>try this:
>
>function formatDate($val) {
>    $timestamp = strtotime($val);
>    return date('M d, Y g:i A', $timestamp); }
>  
>
strtotime possibly will not work if your date is < 01/01/1970.

[snip /]

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

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

Reply via email to