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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement