[Lazarus] StrToDateTime question

ik idokan at gmail.com
Sun May 27 08:40:19 CEST 2012


On Sun, May 27, 2012 at 2:26 AM, Doug Edmunds <dougedmunds at gmail.com> wrote:

> Hello,
>
> How do I convert a string in the format
> yyyy-mm-dd to a DateTime variable?
>
> StrToDateTime('2012-05-26', ????); // what goes there?//
>

writeln(StrToDateTime('2012-05-26'));


>
>
> -dae
>
>
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120527/f5415451/attachment-0003.html>


More information about the Lazarus mailing list