DT_SUBTRACT Function

Decrements the values in a date/time variable by a specified amount.

Usage

Input Parameters

Returned Value

Keywords


NOTE: Only one keyword can be specified at a time. You cannot, for example, specify both years and months in a single DT_SUBTRACT call. But if you need to subtract, for example, one day and one hour, you can simply subtract 25 hours.

Discussion

Example 1




Example 2




Example 3




See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.