Date Comparsion
| From: | Jack | Date: | Tue, 18 Jun 2002 09:25:08 +0000 |
| Subject: | Date Comparsion | ||
| Groups: | php.db php.general php.windows | ||
| Request: | Send a blank email to php-db+get-19854@lists.php.net to get a copy of this message | ||
Dear all
I had a form which let user to input the leave_from and leave_to date into,
the format of the date that user input is "yyyy-mm-dd".
Now i want to compare the leave_from and leave_to date to find out the
number of days between!
What should i do or any function in php can provide this operation?
--
Thx a lot!
Jack
nedcor4@nedcor.com.hk