VA FileMan V. 22.2 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Classic VA FileMan API


C^%DTC: Adds/Subtracts Days and Returns VA FileMan Date and $H Format

Reference Type Category ICR #
Supported Classic VA FileMan 10000
Description

C^%DTC takes a date and adds or subtracts a number of days, returning a VA FileMan date and a $H format date. If time is included with the input, it will also be included with the output.

Input Variables
X1

(Required) The date in VA FileMan format to which days are going to be added or from which days are going to be subtracted. This is not returned.

X2

(Required) If positive, the number of days to add. If negative, the number of days to subtract. This is not returned.

Output Variables
X

The resulting date, in VA FileMan format, after the operation has been performed.

%H

The $H form of the date.

 


Reviewed/Updated: June 2026