calculating number of days (1 Viewer)

laurat

Registered User.
Local time
Today, 15:20
Joined
Mar 21, 2002
Messages
120
What expression would I use to calculate the number of days between two days.
Say one date field says 12/20/01 and the other says 1/20/02 and I want another field to display how many days are between these two date.
 

Jon K

Registered User.
Local time
Today, 15:20
Joined
May 22, 2002
Messages
2,209
Try:-

DateDiff("d", Field1, Field2)
 

laurat

Registered User.
Local time
Today, 15:20
Joined
Mar 21, 2002
Messages
120
I tried that, here is what I put:

DateDiff ("d", Date Orig, RelFloorDate)

and it told me invalid syntax, what does that mean??
 

expublish

Registered User.
Local time
Today, 15:20
Joined
Feb 22, 2002
Messages
121
DateDiff("d",[Date Orig],[RelFloorDate])

Invalid syntax means you've buggered it up in some way.

HTH

Scott.
 
Last edited:

Users who are viewing this thread

Top Bottom