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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement