ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakz_5.4.0.1/rzakzqdatfmt.htm

114 lines
6.2 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="International system values: Date and time" />
<meta name="abstract" content="Sets the format to use when displaying the date. You may also specify the symbol used to separate the date and time values. (QDATFMT, QDATSEP, QTIMSEP)" />
<meta name="description" content="Sets the format to use when displaying the date. You may also specify the symbol used to separate the date and time values. (QDATFMT, QDATSEP, QTIMSEP)" />
<meta name="DC.Relation" scheme="URI" content="rzakzinternationaloverview.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="rzakzqdatfmt" />
<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>International system values: Date and time</title>
</head>
<body id="rzakzqdatfmt"><a name="rzakzqdatfmt"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">International system values: Date and time</h1>
<div><p>Sets the format to use when displaying the date. You may also specify
the symbol used to separate the date and time values. (QDATFMT, QDATSEP, QTIMSEP)</p>
<p><span class="uicontrol">Date and time</span>, also known as <span class="uicontrol">QDATFMT,
QDATSEP,</span> and <span class="uicontrol">QTIMSEP</span>, is a member of the
international category of i5/OS™ system values. You can use these system values
to set the format to use when displaying the date and to specify the symbol
to use when separating the date and the time. 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> &gt; <span class="uicontrol">Configuration
and Service</span> &gt; <span class="uicontrol">System Values</span> &gt; <span class="uicontrol">International</span> &gt; <span class="uicontrol">Formats</span></span></td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e56" headers="d0e34 ">Special authority</th>
<td valign="top" headers="d0e56 d0e34 ">None</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e61" headers="d0e34 ">Default value</th>
<td valign="top" headers="d0e61 d0e34 ">Varies for different countries/regions</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e66" headers="d0e34 ">Changes take effect</th>
<td valign="top" headers="d0e66 d0e34 ">Immediately for new jobs that enter the system after the change. This
does not include jobs that are active at the time of the change.</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e71" headers="d0e34 ">Lockable</th>
<td valign="top" headers="d0e71 d0e34 ">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 <span class="uicontrol">Date
and Time</span> functions. Your options include:</p>
<ul><li><span class="uicontrol">Date format (QDATFMT)</span> <p>Specifies the format to
use as the default format for the system. You may choose any of the following
formats for the date (the examples assume you have selected a slash as the
date separator):</p>
<ul><li><span class="uicontrol">Year Month Day</span> <p>For example: YY/MM/DD</p>
</li>
<li><span class="uicontrol">Month Day Year</span> <p>For example: MM/DD/YY</p>
</li>
<li><span class="uicontrol">Day Month Year</span> <p>For example: DD/MM/YY</p>
</li>
<li><span class="uicontrol">Julian</span> <p>For example: YY/DDD</p>
</li>
</ul>
</li>
<li><span class="uicontrol">Date separator (QDATSEP)</span> <p>Specifies the character
used to separate the date. The separator can be one of the characters:</p>
<ul><li>Slash (/)</li>
<li>Dash (-)</li>
<li>Period (.)</li>
<li>Comma (,)</li>
<li>Blank</li>
</ul>
</li>
<li><span class="uicontrol">Time separator (QTIMSEP)</span> <p>Specifies the character
that separates the parts of the time. The separator can be one of the characters:</p>
<ul><li>Comma (,)</li>
<li>Period (.)</li>
<li>Colon (:)</li>
<li>Blank</li>
</ul>
</li>
</ul>
</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 international 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="rzakzinternationaloverview.htm" title="Use i5/OS international system values to view and change the system's locale values and how numbers, currencies, dates, and time are displayed.">System values: International overview</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>