106 lines
6.3 KiB
HTML
106 lines
6.3 KiB
HTML
<?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: System date" />
|
|
<meta name="abstract" content="Sets the date for system. (QDATE, QDAY, QMONTH, QYEAR, QDAYOFWEEK, QCENTURY, QDATETIME)" />
|
|
<meta name="description" content="Sets the date for system. (QDATE, QDAY, QMONTH, QYEAR, QDAYOFWEEK, QCENTURY, QDATETIME)" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakzdateoverview.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakzqtime.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakzfinder.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakzqtime.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="rzakzqdate" />
|
|
<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: System date</title>
|
|
</head>
|
|
<body id="rzakzqdate"><a name="rzakzqdate"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Date and time system values: System date</h1>
|
|
<div><p>Sets the date for system. (QDATE, QDAY, QMONTH, QYEAR, QDAYOFWEEK,
|
|
QCENTURY, QDATETIME)</p>
|
|
<p><span class="uicontrol">System Date</span>, also known as <span class="uicontrol">QDATE, QDAY,
|
|
QMONTH, QYEAR, QDAYOFWEEK, QCENTURY, QDATETIME</span> is a member of
|
|
the date and time category of i5/OS™ system values. You can use this system
|
|
value to set the date 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="d0e34">Quick reference</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><th valign="top" class="firstcol" id="d0e38" headers="d0e34 ">Location</th>
|
|
<td valign="top" headers="d0e38 d0e34 ">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">Date</span></span></td>
|
|
</tr>
|
|
<tr><th valign="top" class="firstcol" id="d0e56" headers="d0e34 ">Special authority</th>
|
|
<td valign="top" headers="d0e56 d0e34 ">All object (*ALLOBJ)</td>
|
|
</tr>
|
|
<tr><th valign="top" class="firstcol" id="d0e61" headers="d0e34 ">Default value</th>
|
|
<td valign="top" headers="d0e61 d0e34 ">No default value</td>
|
|
</tr>
|
|
<tr><th valign="top" class="firstcol" id="d0e66" headers="d0e34 ">Changes take effect</th>
|
|
<td valign="top" headers="d0e66 d0e34 ">Immediately</td>
|
|
</tr>
|
|
<tr><th valign="top" class="firstcol" id="d0e71" headers="d0e34 ">Lockable</th>
|
|
<td valign="top" headers="d0e71 d0e34 ">No</td>
|
|
</tr>
|
|
<tr><th valign="top" class="firstcol" id="d0e76" headers="d0e34 ">Special considerations</th>
|
|
<td valign="top" headers="d0e76 d0e34 ">The system date is automatically updated when the time reaches midnight,
|
|
12:00:00 AM. <p>QDAYOFWEEK cannot be set by the user and is not included if
|
|
you are using something other than the Gregorian calendar for the <span class="uicontrol">Leap
|
|
year adjustment</span> system value.</p>
|
|
</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 date to be used on your system. The date includes the month, day, and
|
|
year. The system supports dates that range from August 24, 1928 to July 6,
|
|
2053. If your system is not using the Gregorian calendar, the day of the week
|
|
may not be set correctly. If the year (QYEAR) system value changes to a different
|
|
century, the system automatically updates the century (QCENTURY) system value.</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="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><a href="rzakzqtime.htm" title="Specifies the time of the day. (QDATETIME, QTIME, QHOUR, QMINUTE, QSECOND)">Date and time system values: Time of day</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> |