Sets the value for the
w parameter used in date-related built-in functions.
Affected built-in functions include:
- DAYS
- DAYSTODATE
- REPATTERN
- SECS
- SECSTODATE
- VALIDDATE
Syntax
-window "{yyyy|-integer}"
Parameters
- yyyy
- A positive four-digit integer that represents a year that starts a fixed window of time.
- -integer
- A negative integer used as an offset and subtracted from the current, system-supplied year.
Examples
-window 1976
-window "-50"