Php, Date Format throwing away the '0' in front of single digit date -


when below code:

date("d/m/y", $date) 

it gives me

04/06/15

how can make such way return

4/6/15

what modifications must in order desired output? please advise thanks.

date("j/n/y", $date); 

try one


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -