Code: Select all
$dt = date("Y-m-d H:i:s", time() + ($offset_hours * 60 * 60)) ;Question: How do I compare the date pulled from the database, which comes out in this form, 2003-12-03 07:16:16 at a date two weeks prior?
Moderator: General Moderators
Code: Select all
$dt = date("Y-m-d H:i:s", time() + ($offset_hours * 60 * 60)) ;