Link to home
Start Free TrialLog in
Avatar of babyboy808
babyboy808

asked on

( PHP ) How do I display MySQL Date Formatted?

Hi,

I can insert the current date into mysql and display it no problem,
but the formatting is not that nice when it gets displayed.

How can I make the date display like this = 08.05.06

Thanks
Avatar of tolgaong
tolgaong
Flag of Türkiye image

echo date("d.m.y");

to insert  to mysql
$mysqldate=date ("Y-m-d");
ASKER CERTIFIED SOLUTION
Avatar of dr_dedo
dr_dedo
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of babyboy808
babyboy808

ASKER

thanks dr dedo