1 2 3 4 5 6 7 8 9 10 11
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01104085"><META NAME="lcid" CONTENT="1033"><title>Date Object</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>Date Object</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="properties" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="methods" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="events" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="specifics" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>Provides several date-related methods that can be used in Microsoft Office InfoPath 2003 <a href="#" class="glossary" onclick="AppendPopup(this,'xdform')" onkeypress="AppendPopup(this,'xdform')">forms</a>.</p><h2>Remarks</h2><p>Use the <b class="bterm"><a href="xdproDate_HV01104027.htm" id="HV01104027" lcid=" ">Date</a></b> property of the <b class="bterm"><a href="xdobjUtilObject_HV01104078.htm" id="HV01104078" lcid=" ">Util</a></b> object to return a <b class="bterm">Date</b> object.</p><p><p><b>Note</b> This object model member is not supported when the <b class="ui">Disable Service Pack features</b> option on the <b class="ui">Advanced</b> tab of the <b class="ui">Options</b> dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.</p></p><h2>Using the Date object</h2><p>The <b class="bterm">Date</b> object contains the following methods:</p><table><tr><th>Method</th><th>Description</th></tr><tr><td><b class="bterm"><a href="xdmthNow_HV01104086.htm" id="HV01104086" lcid=" ">Now</a></b></td><td>Returns a <b class="bterm">Variant</b> that represents the current system date and time in ISO format.
</td></tr><tr><td><b class="bterm"><a href="xdmthToday_HV01104087.htm" id="HV01104087" lcid=" ">Today</a></b></td><td>Returns a <b class="bterm">Variant</b> containing the current system date in ISO format.</td></tr></table><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/xdobjDateObject_HV01104085_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>
Permission to copy, display and distribute this document is available at: <a
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|