SET VALIDDATE

Sets the minimum acceptable date.

Syntax

SET VALIDDATE min_date

Parameters

min_date The minimum acceptable date (e.g. 19000101)

Comments


Example

By default, the minimum acceptable date in Zim is 0. The following assignments are accepted without warnings

>let nDate = 0.

>let pDate = 19991231.

>let qDate = 20010101.

 

However, when the minimum acceptable date is set to 20000101, the first two assignments generate warnings:

>let nDate = 0.

*** Warning *** DATE value is invalid but the operation was performed.

>let pDate = 19991231.

*** Warning *** DATE value is invalid but the operation was performed.

 

The following assignment executes without warnings:

>let qDate = 20010101.