Date and time system values: System date

The System date system value is also known as QDATE, QDAY, QMONTH, QYEAR, QDAYOFWEEK, QCENTURY, and QDATETIME. You can use this system value to set the date on your system.

Quick reference
Location From IBM® Navigator for i, select Configuration and Service > System Values. Right-click on Date and Time and click Properties, then switch to the Date tab.
Special authority All object (*ALLOBJ).
Default value No default value.
Changes take effect Immediately.
Lockable No.
Special considerations The system date is automatically updated when the time reaches midnight, 12:00:00 a.m..

The QDAYOFWEEK system value cannot be set by the user.

What can I do with this system value?

You can specify the date to be used on your system. The date includes the month, day, and year. The system supports dates that range from 24 August 1928 to 7 June 2062. If the Year (QYEAR) system value changes to a different century, the system automatically updates the Century (QCENTURY) system value.

In the IBM Navigator for i interface, the System date (QDATE) and Time of day (QTIME) system values have not changed. However, they are combined into one system value, QDATETIME, in the character-based interface. If you access the QDATE and QTIME system values through the character-based interface, use the QDATETIME system value rather than the QDATE or QTIME system value. In the character-based interface, the QDATE and QTIME system values are still accessible. Use the QDATE and QTIME system values only when you need to retrieve or change only one of the values. If you need to retrieve or change both values, use the QDATETIME system value.