Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning current day of year
Message
From
19/09/2003 10:48:04
 
 
To
19/09/2003 10:31:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00830656
Message ID:
00830665
Views:
51
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?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform