Page 1 of 1

difference between two dates

Posted: Fri Feb 23, 2007 1:28 am
by mallikharjuna
how to find difference between two dates?

Thanks in Advance

Posted: Fri Feb 23, 2007 2:41 am
by ray.wurlod
Convert them to internal format (which is an integer number of days from a particular day #0) and subtract. You then have the difference in days.

Posted: Fri Feb 23, 2007 5:27 am
by kumar_s
Iconv() is widely used function to convert the external format into internal figures.

Posted: Fri Feb 23, 2007 9:54 am
by kcbland