63 lines
3.7 KiB
HTML
63 lines
3.7 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="reference" />
|
|
<meta name="DC.Title" content="Date values" />
|
|
<meta name="abstract" content="A date value is a character string that represents a date." />
|
|
<meta name="description" content="A date value is a character string that represents a date." />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6constvalues.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbam6charstrings.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../rzakz/rzakz1.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../nls/rbagsqdatsepuse.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="rbam6datevalues" />
|
|
<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 values </title>
|
|
</head>
|
|
<body id="rbam6datevalues"><a name="rbam6datevalues"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Date values </h1>
|
|
<div><p>A date value is a character string that represents a date.</p>
|
|
<div class="section"><p>A date value's format is specified by the system value QDATFMT.
|
|
The length of the date value varies with the format used and whether a separator
|
|
character is used. For example, if no separator character is used, the length
|
|
of a date in a Julian format is five characters, and the length of a date
|
|
in a non-Julian format is six characters. If a separator character is used,
|
|
the length will be greater.</p>
|
|
<p>The system value QDATSEP specifies
|
|
the optional separator character that can be used when the date is entered.
|
|
If a separator character is used, the date must be enclosed in apostrophes.</p>
|
|
<p>A
|
|
date value can be specified for the parameters of type *DATE. A year value
|
|
equal to or greater than 40 indicates a year from 1940 through 1999. A year
|
|
value less than 40 indicates a year from 2000 through 2039. </p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbam6constvalues.htm" title="A constant value is the actual value. The types of constants are character string (includes names, date and hexadecimal values), decimal, and logical.">Constant value</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rbam6charstrings.htm" title="A character string is a string of any EBCDIC characters (alphanumeric and special) that are used as a value.">Character string</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../rzakz/rzakz1.htm">System values</a></div>
|
|
<div><a href="../nls/rbagsqdatsepuse.htm">Data separator (QDATSEP) system value</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |