<font face="verdana,sans-serif">FormatDateTime('YYYY-MM-DD', Now);<br></font><br><div class="gmail_quote">2012/5/26 Doug Edmunds <span dir="ltr"><<a href="mailto:dougedmunds@gmail.com" target="_blank">dougedmunds@gmail.com</a>></span><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>
<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><br clear="all"><br>-- <br><font face="verdana, sans-serif">________________________________<br>William de Oliveira Ferreira<br>Bacharel em Sistemas de Informação</font><br>