Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date verification from a number of minutes
Message
From
20/07/2006 00:17:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Date verification from a number of minutes
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01137919
Message ID:
01137919
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform