lineardate

Uniface data type that holds an integer representing a number of days.

lineardate  ParamName : Direction

lineardate  VariableName

Use

Use in params and variables blocks to define the data type of a parameter or variable. The data type can be selected when defining fields, global variables, and component variables.

Description

A lineardate can have a value from 0 (days) through 3652425 (10,000 years, that is, 3,652,425 days). Only a whole number of days is allowed; that is, you cannot specify hours, minutes and so on.

params
   date pContractDate : IN
   date pExecutionDate : IN
   lineardate pWaitPeriod : OUT
endparams

pWaitPeriod = pExecutionDate - pContractDate

Related Topics