I have a string representing a date: 21 marzo 2017
. I want to convert it to a Unix timestamp.
echo strtotime('21 march 2017');
works because the month is in English.echo strtotime('21 maggio 2017');
doesn't work because the month is in Italian.
How can I get a Unix timestamp from that Italian string?