Im trying to add three days onto a date, this is what I have for my code: $today=date ("Y-m-d"); echo"<p>$today</p>"; $newdate=strtotime('+3 day', strtotime ($today)); echo"<p>$newdate</p>"; So the output is: 2010-01-14 1263704400 I'm assuming the second number is in seconds, but I don't know how to put the second date into the format the first date is in so I can put it into my database and get it later to compare.