Which date format does VarToDateTime(VarDateFromStr) use?
问题 I've been having problems lately with date conversion lately. Some workstations my application run on don't convert string to date correctly. I tracked the issue down to VarDateFromStr that doesn't seem to be checking LOCALE_SSHORTDATE to make the conversion. I was wondering if anyone knew what it DID check for the conversion. Or does the different behavior only linked to different DLL version? GetLocaleStr(GetThreadLocale, LOCALE_SSHORTDATE, 'm/d/yy'); // returns 'dd-MM-yyyy' FormatDateTime(