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.
Again thanks
Serge