Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date verification from a number of minutes
Message
De
20/07/2006 00:17:10
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Date verification from a number of minutes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01137919
Message ID:
01137919
Vues:
56
I need to apply a date verification from a number of minutes. Basically, I have a date field and a number of minutes. So, 2163 means 1 day, 12 hours and 3 minutes. Given 2163, I need to verify if a date field has elapsed that duration. So, if the date field is equal to 20/07/2006 01:14:32 and I am comparing it to now, I need to verify if the 2163 minutes has expired. What would be the simplest approach to achieve that?

As an example, if 20/07/2006 01:14:32 is the value and now is equal to 21/07/2006 01:14:32, this means the time is not expired. But, if now is equal to 22/07/2006 01:14:32, this means the time has expired because 2163 minutes represents a duration that is under the time duration difference of the two dates.
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