Date validation

Author Message
prasath_s01

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 12/6/2008
  • Status: offline
Date validation Saturday, December 06, 2008 6:52 PM (permalink)
0
hi ,
I am new to vB script.I m using Asp application in which i need to poplulate  the drop down from current month to  rest of the months in the year and 12 months from the previous year in the format 12/08.
For eg.Take this month as october .So i need to populte the drop down with the values like this.
10/2008
09/2008
08/2008
07/2008
06/2008
05/2008
04/2008
03/2008
02/2008
01/2008
12/2007
11/2007
...
...
01/2007.
 

so i need to write a vb script that populates the drop down
1.only from current month to reset of months in the year.
2.from current month of the year to first month of  previous year.

Please help me in this.
 
 
#1
    ebgreen

    • Total Posts : 8219
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: Date validation Sunday, December 07, 2008 7:54 AM (permalink)
    0
    I'm sure that someone would be happy to help you. What have you written so far?
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9