613-518-1166 info@zimdatabases.com

ZIM Language Reference

SET VALIDDATE

< All Topics

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.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents