weee
01-22-2005, 06:30 PM
How can I get the current year and the current year plus one year ahead?
|
Click to See Complete Forum and Search --> : Simple date question... weee 01-22-2005, 06:30 PM How can I get the current year and the current year plus one year ahead? russell 01-22-2005, 06:34 PM use the DateAdd() function: nextYear = DateAdd("y", Date(), 1) or nextYear = DateAdd("d", Date(), 365) '' wrong if leap year or nextYear = DateAdd("m", Date(), 12) '' add 12 months weee 01-22-2005, 06:38 PM Oh... got it! Thanks! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |