This is printing that:

<option selected value="3/6/2008">3/6/2008</op <option value="3/5/2008">3/5/2008</option> <option value="3/4/2008">3/4/2008</option> <option value="3/3/2008">3/3/2008</option> <option value="2/29/2008">2/29/2008</option> <option value="2/28/2008">2/28/2008</option> <option value="2/27/2008">2/27/2008</option> <option value="2/26/2008">2/26/2008</option> <option value="2/25/2008">2/25/2008</option> <option value="2/22/2008">2/22/2008</option> <option value="2/21/2008">2/21/2008</option> <option value="2/20/2008">2/20/2008</option> <option value="2/19/2008">2/19/2008</option> <option value="2/18/2008">2/18/2008</option> <option value="2/15/2008">2/15/2008</option> <option value="2/14/2008">2/14/2008</option> <option value="2/13/2008">2/13/2008</option> <option value="2/12/2008">2/12/2008</option> <option value="2/11/2008">2/11/2008</option> <option value="2/8/2008">2/8/2008</option> <option value="2/7/2008">2/7/2008</option> <option value="2/6/2008">2/6/2008</option> <option value="2/5/2008">2/5/2008</option> <option value="2/4/2008">2/4/2008</option> <option value="2/1/2008">2/1/2008</option> <option value="1/31/2008">1/31/2008</option> <option value="1/30/2008">1/30/2008</option> <option value="1/29/2008">1/29/2008</option> <option value="1/28/2008">1/28/2008</option> <option value="1/25/2008">1/25/2008</option> <option value="1/24/2008">1/24/2008</option> <option value="1/23/2008">1/23/2008</option>


How can I get today's date to be the last one before "1/23/2008

Thanks!!!!

In reply to Re^2: Getting the Latest Date Issue by Anonymous Monk
in thread Getting the Latest Date Issue by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.