JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


EVALUATE DATE

Evaluates an English language date specification.

Format

EVALUATE DATE date-specification


Parameters

date-specification

A valid JAMS English language date specification. If the specification includes embedded spaces it must be enclosed in quotes.

Description

The EVALUATE DATE command is used to parse an English language date specification and return the absolute date which the phrase represents. This command can be used to test your date specifications and from within you DCL routines to enhance your applications. There is also a callable version of this command.

Qualifiers

/GLOBAL

Using this qualifier causes the returned DCL symbol to be defined in the global symbol table.

/LOCAL

Using this qualifier causes the returned DCL symbol to be defined in the local symbol table.

/SYMBOL=symbol_name

If specified, the resulting date will be placed in the specified DCL symbol. If you do not use this qualifier, the resulting date is displayed on your terminal.

/TODAY_IS=date

The date specification will be interpreted as if today was the date specified with this qualifier. If you do not use this qualifier, the default is the current system date.


Previous Next Contents Index
JAMS Copyright © 2000, MVP Systems, Inc. All rights reserved.