Link to home
Start Free TrialLog in
Avatar of Dwood9015
Dwood9015

asked on

DAYS360

I need to replicate the Excel DAYS360 in an Access function
Avatar of wshark83
wshark83
Flag of United Kingdom of Great Britain and Northern Ireland image

you can use this:

DateDiff ( interval, date1, date2, [firstdayofweek], [firstweekofyear])

Example:
DateDiff ("yyyy", #15/10/1998#, #22/11/2003#)       would return 5
DateDiff ("m", #15/10/2003#, #22/11/2003#)       would return 1
DateDiff ("d", #15/10/2003#, #22/11/2003#)       would return 38
ASKER CERTIFIED SOLUTION
Avatar of wshark83
wshark83
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dwood9015
Dwood9015

ASKER

that works thanks