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 -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -