Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Month function
Message
From
08/07/2003 11:00:08
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Month function
Miscellaneous
Thread ID:
00808001
Message ID:
00808001
Views:
58
Hi,
i am trying to determine from a combo box which value should be selected by default according to the current month. When I did that with day, I added this in my HTML tag
<% if day(Date()) = i then response.write("Selected") %> and it works fine. When I do
<% if month(Date()) = 1 then response.write("Selected") %>, I get : Object Required error... If I do it with year it works... only month seem to have a problem.. Any idfea?
Next
Reply
Map
View

Click here to load this message in the networking platform