View Single Post
Old 12-02-2001, 01:00 PM  
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
echo gmDate("m j Y");
this will print today

echo gmDate("m j Y",time() - 86400);
this wil print yesterday

multiply 86400 x the no of days you want, In your case is 5. So you'll put
echo gmDate("m j Y",time() - 432000);


Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote