Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Calculations
Message
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00507774
Message ID:
00507823
Views:
10
Use the dateadd() function for many powerful ways to add seconds, minutes,
days, etc to existing dates. Datediff() can also be used, the help file
has more info..

? DateAdd("s",3600,Now) ' Adds 3600 seconds to current time

>Is there an easy way to do time calucations.
>
> Add/Subtract seconds/minutes/days
>
>For example:
>Adding 80 mintues to 05/16/2001 11:11:11 PM would result in
> 05/17/2001 12:31:11 AM
>
>I have looked around the help file and what I have determined is that each
>section (mm/dd/yyyy mm:hh:ss) needs to be calculated separately then bring the individual results together into one string.
>
>That seems like a lot a work to do a pretty simple thing.
>
>Any help would be appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform