Hey! So I need to extract the first 8 digits from the string (screenshot attached). And once I extract the digits, which in this case are: 20190705 (YearMonthDay) , convert it to date format 7/05/19 (Month/Day/Year). I know it’s a bit complicated but I would appreciate help.
are you already able to get that string: 20190705 into a variable? If yes, then do: Date.ParseExact("20190705", "yyyyMMdd", System.GlobalizationCultureInfo.InvariantCulture).ToString("M/dd/yy")
Hi, can you please tell me what variable type I need to use for this “Date.ParseExact(“20190705”, “yyyyMMdd”, System.GlobalizationCultureInfo.InvariantCulture).ToString(“M/dd/yy”)” ?
Because I tried DateTime but it’s not the one.