Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Month function
Message
De
08/07/2003 11:00:08
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Month function
Divers
Thread ID:
00808001
Message ID:
00808001
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform