SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Current date

  1. #1
    SitePoint Addict
    Join Date
    Jun 2008
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Current date

    The code below shows the date as 'yyyy-mm-dd' as default.
    How to make the current date as default.

    Code:
    <INPUT readOnly size=10 value=yyyy-mm-dd name=date1> &nbsp;&nbsp;<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>

  2. #2
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is a same post i have replied somewhere just now !!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •