Hi, I am new to php. And I would like to know some of the date manipulation things in php.
// Get Current date
$date = date("Y-m-d");
What if I want to subtract current date and a specific date, lets say "today - 2008-06-26"?
Q1: How to do date math manipulation (add, minus, multply etc) in php?
Q2: If today, a subscriber subscribes on today date 2009-06-26, 1 week later I want to delete his account from my database, how do i do that? (I am using mysql)
Q3: What can we do if we store the user's date in our database? For example, we can store user's bday date, so when on his bday day, we sent him some email. What else can date do??