date function

hi, what wrong with my date() function?

echo date(d-m-y);

thank!
php_wannabeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
276343Connect With a Mentor Commented:
try

echo date('d-m-y');
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.