Question

How to convert string datetime into datetime specific formats;

  • 8 March 2024
  • 1 reply
  • 210 views

Badge +5

I have below date-time formats in string variable and I wanted to convert these date times to '2024-02-25 00:00:00' date time variable format. I am using assign but it throws the below error.

 

February 26, 2024 2:53 PM
March 3, 2024 3:48 PM
March 3, 2024 3:44 PM
February 26, 2024 2:53 PM

February 26, 2024 2:53 PM
March 3, 2024 3:48 PM
March 3, 2024 3:44 PM
February 26, 2024 2:53 PM
 


1 reply

Userlevel 2
Badge +4

Hi @tayyabimtiaz1 ,

Is this what you’re looking to do?
 


Regards,
Lisa

Reply