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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only