Good day Tomas,
Thank you very much for your great advice as usual.
I have tried several times failed before getting it works.
The point is we have to set the format string based on the local date format, e.g. when the Windows shows 22/08/18 at the low right corner then we have to declare the format string 'yy/mm/dd' accordingly.
The only case still failed is when the system date has the format of dd-mmm-yy (e.g. 18-Aug-22).
Anyhow, thanks again for your assistance.