Forum Moderators: open

Message Too Old, No Replies

Need a date ASP function

         

kevinj

9:42 pm on Apr 14, 2003 (gmt 0)

10+ Year Member



I need a function that will check the month and then set a variable equal to the next month. My current month is:

CURRENT_MONTH = Month(Date())

Thanks,
Kevin

defanjos

9:53 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not quiet sure what you need, maybe something like this:

CURRENT_MONTH = Month(Date())
NEXT_MONTH = Month(Date())+ 1

kevinj

11:33 pm on Apr 14, 2003 (gmt 0)

10+ Year Member



I tried that before I made the post and it didn't work for me. Any other thoughts? Thanks.

kevinj

11:36 pm on Apr 14, 2003 (gmt 0)

10+ Year Member



Woops. It did work. I had a variable named incorrectly. When I changed that it worked fine.

Thanks!