Date and time system values: Time of day

Specifies the time of the day. (QDATETIME, QTIME, QHOUR, QMINUTE, QSECOND)

Time of day, also known as QDATETIME, QTIME, QHOUR, QMINUTE, and QSECOND, is a member of the date and time category of i5/OS™ system values. You can use this system value to set the time on your system. To learn more, keep reading.

Quick reference
Location In iSeries™ Navigator, select your system, > Configuration and Service > System Values > Date and Time > Time
Special authority All object (*ALLOBJ)
Default value No default value
Changes take effect Immediately
Lockable No

What can I do with this system value?

You can specify the time that is used on your system. The time specifies the hour (QHOUR), minutes (QMINUTE), and seconds (QSECOND).

When you need to update the system time, a time adjustment is the preferred method. A time adjustment ensures that time is not skipped or repeated. You can specify up to a 2 hour time adjustment. If you need to update the system time more than 2 hours, you can use multiple time adjustments to reach the desired time value. Only make manual changes to the time of day system value if you need to change the time immediately.

If the system observes Daylight Saving Time, you cannot change the date and time to the hour that Daylight Saving Time affects. For example, if the system clock moves from 2:00 to 3:00 on April 6 for Daylight Saving Time, you cannot change the time to a value that is greater than or equal to 2:00 and less than 3:00 on April 6.

In the iSeries Navigator interface, the system date (QDATE) and time of day (QTIME) system values have not changed. However, they are combined into one system value in the character-based interface, QDATETIME. If you are accessing the date or time system value using the character-based interface, use QDATETIME rather than QDATE or QTIME. In the character-based interface, QDATE and QTIME are still accessible so you can access the date and time values separately, if needed. Use the QDATE and QTIME system values to retrieve values, and use the QDATETIME system value to set the date, time, or both. This ensures that the system values do not conflict with each other.

Where can I get more information about this system value?

To learn more, go to the date and time system values overview topic. If you are looking for a specific system value or category of system values, try using the i5/OS system value finder.

Related concepts
Date and time system values: System date
System values: Date and time overview
Related tasks
Time adjustment
Related information
System value finder