SET VALIDDATE

SET VALIDDATE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

SET VALIDDATE

Sets the minimum acceptable date.

Syntax

SET VALIDDATE min_date

Parameters

min_dateThe 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%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish