I have a date and time with this format: Wed, 17 May 2023 22:46:45 +1200
I needed to have the final output to be : dd/mm/yyyy HH:mm
Thanks.
I have a date and time with this format: Wed, 17 May 2023 22:46:45 +1200
I needed to have the final output to be : dd/mm/yyyy HH:mm
Thanks.
Hi @redanime94 ,
Try this
(DateTime.ParseExact(stYourDate,"dddd, dd MMM yyyy HH:mm:ss +1200",system.Globalization.CultureInfo.InvariantCulture)).ToString("dd/mm/yyyy HH:mm")
Thanks,
Hi @redanime94 ,
Try this:
CDate(inputDateString).ToString(“dd/MM/yyyy HH:mm”)
Ex: CDate(“Wed, 17 May 2023 22:46:45 +1200”).ToString(“dd/MM/yyyy HH:mm”)
Hope it helps.
Thanks works! Thanks a lot!