blob: 91dde3c2af305eb2bb09d18f1069f860772a9099 [file] [log] [blame]
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>DateTools.StringToDate Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Apache Lucene.Net 2.4.0 Class Library API</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">DateTools.StringToDate Method </h1>
</div>
</div>
<div id="nstext">
<p> Converts a string produced by <pre class="code">timeToString</pre> or <pre class="code">dateToString</pre> back to a time, represented as a Date object. </p>
<div class="syntax">public static <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemDateTimeClassTopic.htm">DateTime</a> StringToDate(<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a> <i>dateString</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>dateString</i>
</dt>
<dd>the date string to be converted </dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p> the parsed time as a Date object </p>
<h4 class="dtH4">See Also</h4>
<p>
<a href="Lucene.Net.Documents.DateTools.html">DateTools Class</a> | <a href="Lucene.Net.Documents.html">Lucene.Net.Documents Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="StringToDate method">
</param>
<param name="Keyword" value="StringToDate method, DateTools class">
</param>
<param name="Keyword" value="DateTools.StringToDate method">
</param>
</object>
<hr />
<div id="footer">
<p>
</p>
<p>Generated from assembly Lucene.Net [2.4.0.2]</p>
</div>
</div>
</body>
</html>