Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Calculations
Message
 
À
16/05/2001 09:37:26
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00507774
Message ID:
00507823
Vues:
9
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform