Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Abbreviated month name

Tags:

php

I am trying to use dates with abbreviated months in php. I've already tried d ([.\t-])* m Y found on their documentation but what I am getting is this 20 ([. -])* 01 2016

How can I use abbreviated months like 10 Jan 2016 in PHP?

like image 534
brunodd Avatar asked Jan 20 '16 12:01

brunodd


1 Answers

Today's answer was brought to you by the letter M (capital) and a link to the docs http://php.net/manual/en/function.date.php

like image 51
rjdown Avatar answered Sep 21 '22 10:09

rjdown