[thelist] PHP Date question

Casey Crookston caseyc at IntelliSoftmn.com
Wed Dec 13 11:52:29 CST 2006


>>If you absolutely must work with date strings instead of unix
timestamps 
(much easier in most cases), then strtotime() is your friend.<<

Solved.

$dStart = strtotime("-4 hours",strtotime($dStart));
$dStart = date('m/d/Y H:i:s A',$dStart);
      	
Thank you!




More information about the thelist mailing list