String to Date Conversion

i want to convert string format to date format but not getting any solution .

String : “15/06/2020 04:05:14 PM”

kindly provide any solution . thanks

Most likely $dateFromString should work for you.

1 Like