By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,588 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,588 IT Pros & Developers. It's quick & easy.

Need to set a start year in code: DateTime.Now.Year To DateTime.Now.Year + 10

P: 2
With the following I get a drop down list of the current year and the next 10 years.

I need to set a start year eg 2008.. Can someone assist.

DateTime.Now.Year To DateTime.Now.Year + 10
Feb 10 '09 #1
Share this Question
Share on Google+
2 Replies


P: 2
Add -1 after curent DateTime.Now.Year -1
Feb 11 '09 #2

jhardman
Expert 2.5K+
P: 3,405
@hawkswins
This doesn't look like vbscript. Can you please confirm that this was intended for the "classic" ASP forum? It kind of looks like you intended to go to the ASP.NET forum and posted here on accident.

Jared
Feb 11 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.