Hello there,
I have a question,
I work on a system with a MSSQL database for DB server and PHP.
The MSSQL server date format is the following :
Feb 3 2005 12:00AM
I have two date fields and I just want to calculate the number of days between those two dates.
I tried with the following code :
$bla=strtotime('$date_created')-strtotime('$date_resolved')) /86400;
But it always gives me a 0 value.
Anyone can help me on this ?
I have a question,
I work on a system with a MSSQL database for DB server and PHP.
The MSSQL server date format is the following :
Feb 3 2005 12:00AM
I have two date fields and I just want to calculate the number of days between those two dates.
I tried with the following code :
$bla=strtotime('$date_created')-strtotime('$date_resolved')) /86400;
But it always gives me a 0 value.
Anyone can help me on this ?