Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting a string or any variable to a date variable
Message
 
À
03/06/2003 09:11:47
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00795610
Message ID:
00795734
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Hi David,

If i am correct, you have day, month & year in string variables in asp.
Now you want to send it to sql server.
If it is correct then, you just have to like following:
myDate = myday & '/' & mymonth & '/' & myYear
and then use this variable, wherever you are using date.
Though the sequence of using day, month or year may change depending upon the current date setting.


---
Raj
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform