date selection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jorntk

    date selection

    How can i create a date drop menu that automatically have today's date
    selected?


  • kaeli

    #2
    Re: date selection

    In article <4087398f_2@new s.tm.net.my>, jornrk@yahoo.co m enlightened us
    with...[color=blue]
    > How can i create a date drop menu that automatically have today's date
    > selected?
    >
    >
    >[/color]

    This is easiest server-side, but if you need JS, we need to know what
    format the options are in. That is, is there a separate month, day,
    year, or is it a list of full dates?

    --
    --
    ~kaeli~
    Is it true that cannibals don't eat clowns because they
    taste funny?



    Comment

    • Dr John Stockton

      #3
      Re: date selection

      JRS: In article <4087398f_2@new s.tm.net.my>, seen in
      news:comp.lang. javascript, Jorntk <jornrk@yahoo.c om> posted at Thu, 22
      Apr 2004 11:13:04 :
      [color=blue]
      >How can i create a date drop menu that automatically have today's date
      >selected?[/color]

      By reading the Wednesday edition of the newsgroup FAQ, and thereby
      finding my js-date6.htm#YMD (or #YWD). Note that the dropped month-
      lengths, including February, will be correct.

      --
      © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
      <URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
      <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
      <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

      Comment

      Working...