BigJohn
16th April 2004, 09:57
Hi,
In Baan V, the dates are stored as date and time.
Here is my problem.
I have 2 date fileds
date1 and date 2
I want to know the difference between the two dates.
for e.g.
date1 = 01/01/2004, 23:00
date2 = 01/02/2004, 1:00
I want the diif to give me 1 day although they are just 2 hours apart.
Basically I want the diff between the two dates while ignoring
the time.
How do I do it?
Please advice.
Thanks.
Cheers,
BigJohn
In Baan V, the dates are stored as date and time.
Here is my problem.
I have 2 date fileds
date1 and date 2
I want to know the difference between the two dates.
for e.g.
date1 = 01/01/2004, 23:00
date2 = 01/02/2004, 1:00
I want the diif to give me 1 day although they are just 2 hours apart.
Basically I want the diff between the two dates while ignoring
the time.
How do I do it?
Please advice.
Thanks.
Cheers,
BigJohn