<div dir="ltr"><br><div class="gmail_quote">On Sun, May 27, 2012 at 2:26 AM, Doug Edmunds <span dir="ltr"><<a href="mailto:dougedmunds@gmail.com" target="_blank">dougedmunds@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
How do I convert a string in the format<br>
yyyy-mm-dd to a DateTime variable?<br>
<br>
StrToDateTime('2012-05-26', ????); // what goes there?//<br></blockquote><div><br>writeln(StrToDateTime('2012-05-26'));<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
<br>
-dae<br>
<br>
<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</blockquote></div><br></div>