how could I extract the date from this string with this format?
string: 2019-12-05T17:04:16-02:00
what I want: 05122019 (ddmmyyyy)
how could I extract the date from this string with this format?
string: 2019-12-05T17:04:16-02:00
what I want: 05122019 (ddmmyyyy)
Fine the expression be like this
DateTime.ParseExact(Split(str_input,”T”)(0).ToString,”yyyy-MM-dd”,System.Globalization.CultureInfo.InvariantCulture).ToString(“ddMMyyyy”)
Cheers @Suporte4
Hi!
It’s work fine!
Thank You.
Where could I learn more about it?
Hi, it’s work almost well. Returns me 05042019 (correct is: 05122019)
Nice!
Ty
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.