Hi ,
I want to change the date format from
7/30/2023 12:00:00 AM to 2023-07-30
I am using following command but seems no luck
eval DesiredDate = strftime(strptime(DesiredDate,"%m/%d/%YT%H:%M:%S.%QZ"),"%m-%d-%Y")
Your formats don't match your example - try this
eval DesiredDate = strftime(strptime(DesiredDate,"%m/%d/%Y %I:%M:%S %p"),"%Y-%d-%m")
Time formats are described here