Jump to content

Current date


rashmi_k28

Recommended Posts

The code below shows the date as 'yyyy-mm-dd' as default.

How to make the current date as default.

 

<INPUT readOnly size=10 value=yyyy-mm-dd name=date1>   <b>End Date : </b><A id=anchor2
      onclick="cal.select(document.forms['myform'].date2,'anchor2','yyyy-MM-dd'); return false;"  href="#" name=anchor2><IMG
      height=35 src="./images/calender.jpg" width=35  border=0>

Link to comment
https://forums.phpfreaks.com/topic/131305-current-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.