Access ecuviant for Excel Date Function

dgkindy

Registered User.
Local time
Today, 15:34
Joined
Feb 22, 2007
Messages
34
I am trying to convert an excel formula to be used in access. One of the functions used in the calculation is the Date function.

What is the equivalent command in Access..


Excel formula
=INT(($D$2-(DATE(YEAR($D$2+(MOD(8-WEEKDAY($D$2),7)-3)),1,1))-3+ MOD(WEEKDAY(DATE(YEAR($D$2+(MOD(8-WEEKDAY($D$2),7)-3)),1,1))+1,7))/7)+1
 

Users who are viewing this thread

Back
Top Bottom