First I would store the current regional settings in a var
(lcDateFormat = set("date"))...
Then I would set it to what I wanted (SET DATE TO "MDY")
Then ferform the cmonth() on the new date string.
Then I would restore the old date setting ==> SET DATE TO (lcFormatDate)
Hope this helps...
Michael
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only