D
dawnecia
Given the start date, how do I calculate the expiration date while taking
into account the leap year.
Here's what I have so far using multiple fields in a query
YrNum: Year([startdate])
leapChk: [YrNum]/100-Round([YrNum]/100,0)
LeapYr: IIf([leapchk]>0,[startdate]+365,[startdate]+366)
Thanks
into account the leap year.
Here's what I have so far using multiple fields in a query
YrNum: Year([startdate])
leapChk: [YrNum]/100-Round([YrNum]/100,0)
LeapYr: IIf([leapchk]>0,[startdate]+365,[startdate]+366)
Thanks