<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="concept" /> <meta name="DC.Title" content="Date and time system values: Time of day" /> <meta name="abstract" content="Specifies the time of the day. (QDATETIME, QTIME, QHOUR, QMINUTE, QSECOND)" /> <meta name="description" content="Specifies the time of the day. (QDATETIME, QTIME, QHOUR, QMINUTE, QSECOND)" /> <meta name="DC.Relation" scheme="URI" content="rzakzqdate.htm" /> <meta name="DC.Relation" scheme="URI" content="rzakzdateoverview.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzati/rzatitimeadj.htm" /> <meta name="DC.Relation" scheme="URI" content="rzakzqdate.htm" /> <meta name="DC.Relation" scheme="URI" content="rzakzfinder.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzakzqtime" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Date and time system values: Time of day</title> </head> <body id="rzakzqtime"><a name="rzakzqtime"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Date and time system values: Time of day</h1> <div><p>Specifies the time of the day. (QDATETIME, QTIME, QHOUR, QMINUTE, QSECOND)</p> <p><span class="uicontrol">Time of day</span>, also known as <span class="uicontrol">QDATETIME</span>, <span class="uicontrol">QTIME, QHOUR, QMINUTE,</span> and <span class="uicontrol">QSECOND</span>, 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.</p> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" valign="top" class="firstcol" id="d0e40">Quick reference</th> </tr> </thead> <tbody><tr><th valign="top" class="firstcol" id="d0e44" headers="d0e40 ">Location</th> <td valign="top" headers="d0e44 d0e40 ">In iSeries™ Navigator, select your system, <span class="menucascade"><span class="uicontrol"></span> > <span class="uicontrol">Configuration and Service</span> > <span class="uicontrol">System Values</span> > <span class="uicontrol">Date and Time</span> > <span class="uicontrol">Time</span></span></td> </tr> <tr><th valign="top" class="firstcol" id="d0e62" headers="d0e40 ">Special authority</th> <td valign="top" headers="d0e62 d0e40 ">All object (*ALLOBJ)</td> </tr> <tr><th valign="top" class="firstcol" id="d0e67" headers="d0e40 ">Default value</th> <td valign="top" headers="d0e67 d0e40 ">No default value</td> </tr> <tr><th valign="top" class="firstcol" id="d0e72" headers="d0e40 ">Changes take effect</th> <td valign="top" headers="d0e72 d0e40 ">Immediately</td> </tr> <tr><th valign="top" class="firstcol" id="d0e77" headers="d0e40 ">Lockable</th> <td valign="top" headers="d0e77 d0e40 ">No</td> </tr> </tbody> </table> </div> <div class="section"><h4 class="sectiontitle">What can I do with this system value?</h4><p>You can specify the time that is used on your system. The time specifies the hour (QHOUR), minutes (QMINUTE), and seconds (QSECOND).</p> <p> 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.</p> <p>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.</p> <p>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.</p> </div> <div class="section"><h4 class="sectiontitle">Where can I get more information about this system value?</h4><p>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.</p> </div> </div> <div><div class="relconcepts"><strong>Related concepts</strong><br /> <div><a href="rzakzqdate.htm" title="Sets the date for system. (QDATE, QDAY, QMONTH, QYEAR, QDAYOFWEEK, QCENTURY, QDATETIME)">Date and time system values: System date</a></div> <div><a href="rzakzdateoverview.htm" title="Use i5/OS date and time system values to control the system's date, time, and time zone information.">System values: Date and time overview</a></div> </div> <div class="reltasks"><strong>Related tasks</strong><br /> <div><a href="../rzati/rzatitimeadj.htm">Time adjustment</a></div> </div> <div class="relinfo"><strong>Related information</strong><br /> <div><a href="rzakzfinder.htm">System value finder</a></div> </div> </div> </body> </html>