Hi Mark. Thank you. I was able to get it working. Here is what I did:
! Windows Date Determination
DateSave# = Today()
Date# = Date(1,15,2007)
SetToDay(Date#)
If Sub(Format(Today(),@D17),1,2) = 15 then !we have dd/mm/yyyy
DateInd = 'D'
Else
DateInd = 'M'
End
SetToDay(DateSave#)
!End
I chose Jan 15 as an arbitrary date. I was concerned about the instances where the day and month are the same i.e. feb 2, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.