SetDateCountry()
Posted: Sat Dec 08, 2018 1:12 pm
Hi Chris,
VO uses some not well chosen country define names. Maybe that´s the reason why these defines are not part of the x# runtime ?
How about a SetDateCountry() enum overload ? Something like:
What do you think ?
regards
Karl-Heinz
VO uses some not well chosen country define names. Maybe that´s the reason why these defines are not part of the x# runtime ?
Code: Select all
DEFINE ANSI := 2 // yy.mm.dd yyyy.mm.dd
DEFINE AMERICAN := 1 // mm/dd/yy mm/dd/yyyy
DEFINE BRITISH := 3 // dd/mm/yy dd/mm/yyyy
DEFINE FRENCH := 4 // dd/mm/yy dd/mm/yyyy
DEFINE GERMAN := 5 // dd.mm.yy dd.mm.yyyy
DEFINE ITALIAN := 6 // dd-mm-yy dd-mm-yyyy
DEFINE JAPANESE := 7 // yy/mm/dd yyyy/mm/dd
DEFINE USA := 8 // mm-dd-yy mm-dd-yyyy
Code: Select all
public enum DateCountry
member American := 1
member Ansi := 2
member British := 3
member French := 4
member German := 5
member Italian := 6
member Japanese := 7
member USA := 8
end enum
FUNCTION SetDateCountry( enumCountry AS DateCountry ) AS DWord
RETURN SetDateCountry( (DWORD) enumCountry )
regards
Karl-Heinz