Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting start and last time of day
Message
De
10/01/2006 16:03:31
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Getting start and last time of day
Divers
Thread ID:
01085371
Message ID:
01085371
Vues:
57
No matter the datetime value I received, I need to obtain two date time values from that date. The first one is the start of the day and the second one, the last time of the day. So, I receive this datetime value:

10/01/2006 13:00:56

I should obtain:

10/01/2006 00:00:00
10/01/2006 23:59:59

Do I need to convert the first datetime value to a string, manipulate that string, and convert it back to a datetime?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform