I’m trying to use strtotime to convert date strings in the format Jan 14th 2011 to the format 2011-01-14 but it’s not working.
Is this format not suitable for strtotime and if so, how can I convert it. The month is always in 3-letter format, like Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
1 Answer