date-time parameter - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

The syntax that is accepted for the date-time parameter is flexible. Unspecified date and time values default to the current date and time. A date can be specified as a month and a day (current year assumed).

Examples of valid date-time specifications are:

"01-Jan-2012 12am"

"Tuesday, 23:00:00"

"11pm tues."

"tomorrow 23"

The year can also be explicitly specified. It is also possible to specify the date as a weekday name (for example, "Tues"), or as one of the strings "today" or "tomorrow." Weekday and month names can be abbreviated by any three-character (or longer) prefix to the actual name. An optional period can follow an abbreviated month or day name.

The time of day can be specified using a 24-hour clock or "am" and "pm" specifications. When "am" or "pm" is not specified, a twenty-four hour clock is assumed. The time of day specification is interpreted using the precise "am" or "pm" definitions. "12am" refers to the 24-hour clock time of 0:00:00; "12m" refers to noon; and "12pm" refers to 24:00:00. Alternatively, the phrases "midnight" and "noon" are accepted as time of day specifications, where "midnight" refers to 24:00:00.

The time is based on the local time zone. Daylight saving time is inferred when appropriate.

All alphabetic comparisons are not case-sensitive. Both "WeD" and "weD" refer to Wednesday.