Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning current day of year
Message
De
19/09/2003 10:48:04
 
 
À
19/09/2003 10:31:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00830656
Message ID:
00830665
Vues:
33
This message has been marked as the solution to the initial question of the thread.
Use DayOfYear property of the DateTime structure:
Dim dt As DateTime = New DateTime(YourYear, YourMonth, YourDay)
Dim DayOfYear As Integer = dt.DayOfYear
For example:
Dim dt As DateTime = New DateTime(2003, 9, 19)
Dim DayOfYear As Integer = dt.DayOfYear

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform