Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime.Now.Year
Message
 
À
30/03/2004 16:20:37
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00890968
Message ID:
00890989
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform