| 
 The information in this article applies to: 
 SUMMARYThis article describes how to add or subtract time with a DateTime field. Time, in seconds, can be added or subtracted with a DateTime data type field. Time carries over from seconds to minutes to hours to days and to years. There are no adjustments in this sample for a leap year. This is an example and you may want to add additional functionality if time calculations are a large part of your application. MORE INFORMATION
When you add or subtract time with a DateTime field, the value(s) to add or
subtract will be calculated with seconds.
 -or-Example to subtract a week: (c) Microsoft Corporation, 1997, All Rights Reserved.  Contributions by
Mike Fernald,
Microsoft CorporationAdditional query words: datetime day hour minute second hh:mm:ss 
Keywords          : kbnokeyword kbMAC kbVFp300 kbVFp300b kbVFp500 kbVFp500a kbVFp600  | 
| Last Reviewed: August 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |