In CygNet applications and dialog boxes where a date or time is required, the following wildcards can be used to describe or adjust date and time.
The T wildcard can be used to represent today. The date can be adjusted using an integer (T, T+3, T-7).
Example
Note: The T wildcard cannot be used with Component Wildcards.
Component wildcards can be used to describe or adjust a particular date and time.
Component Adjustment Value
Example
|
d-7 H=6 |
This example sets the date and time to seven days ago (d-7) at 6:00 a.m. (H=6).
The components are case-sensitive. Date components are lowercase; time components are UPPERCASE. The component options are the following:
| Component | Description |
|---|---|
|
y |
Year |
|
m |
Month |
|
d |
Day |
|
H |
Hour |
|
M |
Minute |
|
S |
Second (note that milliseconds are not maintained) |
The adjustment options are the following:
| Adjustment | Description |
|---|---|
|
- |
Subtract from the reference |
|
+ |
Add to the reference |
|
= |
Equals the reference |
The value options are the following:
| Type | Description |
|---|---|
|
Integer |
Subtract from the reference |
|
L or l |
Indicates last day of the month. Can only be used with the "d" (Day) component. |