0

I have several strings, some in Indian format, some in US format.

20/08/2021 - Indian Format

10/31/2021 - US Format

Is there a way to specify the format while converting it to Date using VBScript?

I don't want to edit the format of the date after converting it to string(I know how to do that) instead I was wondering if there was a way to specify that the input string contains dd-MM-yyyy or MM-dd-yyyy format as I convert it to a date.

Help would be most appreciated, thanks in advance!

Ashwin_23
  • 19
  • 3

0 Answers0