I suggest you use wxDateTime::ParseDateFormat
instead, then you can specify the exact format of the date-string.
The reason you have problem with ParseDate
is that it first tries to parse the date-string in American format (where the format is mm/dd/yyyy
), and if it fails it tries other formats.