Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing a date into its simplest format
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01287307
Message ID:
01287511
Vues:
14
>>I don't know if it has been answered yet, but the DateTime structure has a constructor where you can pass the number of ticks.
>>
>>long ticks = DateTime.Now.Ticks;
>>DateTime aLittleWhileAgo = new DateTime(ticks);
>>
>
>Yes, that is what I have found last night and implemented it.

Cool. I really like the concept of ticks. I have been using it a lot.
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform