I have a php variable which stores datetime in this format.
next_run=”2025-01-17 09:41:26″ “y-m-d hh:mm:ss”
I want to convert it into two custom formats.
1:- in this format the month name and day in numbers
“Jan 17”
2:- in this format, this means 17 is the ay number in a month, “th, rd, nd” based on a day like
“17th” ,”3rd” , “2nd”
${day}${suffix}