Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting all dates between a date range
Message
De
06/03/2006 10:00:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/03/2006 09:23:11
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01101704
Message ID:
01101716
Vues:
14
>Is there some sort of built in function that will return all days between a date range, or do I need to build a loop that adds a day until I reach the end date?
>
>Thanks,
>MAC

You mean this?
TimeSpan ts = dt2-dt1;
int days = ts.Days;
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform