Using "placeholder" to instruct users how to insert date input

Hi everyone,
In my “date” form input box I use “placeholder” to instruct users the format of date to assign.


<input id="exam_date" type="datetime" name="exam_date"  placeholder="<?php echo "now('d-m-y H:i:s')";?>"

I expect the present date and time to show up in that input box but instead I get:


now('d-m-y H:i:s')

How do I make “placeholder” to show real present date and time?
Thanks!

Remove the double quotes on the outside of now() so that it looks like this:

<?php echo now(“d-m-y H:i:s”);?>

Thanks,
I removed the double quotes as you suggested and it didn’t work but after i had removed the quotes and replaced “now” : by “date”:
<?php echo date(“d-m-y H:i:s”);?>
It worked !!! Thanks a lot !