Print Past Date

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Print Past Date

Post by icesolid »

I want to print out a past date depending on what today is.

For example: Today is 2007-01-31. I want to print out 2007-01-11

I want to print out what date it was 20 days from today.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Since you didn't ask a question, I'll assume you are looking for strtotime().
Post Reply