Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime.Now.Year
Message
 
To
30/03/2004 16:20:37
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00890968
Message ID:
00890989
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks... now I am using DateTime.Now.Month to get the month, and if it is a single number I want it to have a 0 before it, like 03 instead of 3 for March.

DateTime.Now.Month.ToString.PadLeft(2, "0")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform