Re: [PHP] Date help (no not that kind)

2001-11-11 Thread DL Neil
Hi Sundog, Can help you with dates (but no, if you want that kind you'll definitely not be wanting my advice...) - Original Message - > I am trying to determine if todays date ($today) is within a week > ($startcheck) of a given date ($dob). This is what I have so far. > > $todaydate = (

[PHP] Date help (no not that kind)

2001-11-10 Thread sundogcurt
I am trying to determine if todays date ($today) is within a week ($startcheck) of a given date ($dob). This is what I have so far. $todaydate = (date("Y-d-m")); $today = strtotime($todaydate); // $today prior to strtotime = 2001-10-11 $startcheck = strtotime(2001-08-11); $dob = strtotime(2001-1