True, I do not know if there is a "separator" property. In my programs I typically build a date string from the TDateEdit.Date myself.
Johan Tu Toit wrote 20 lines
The DateOrder property only give the format order but do not change
the separator / to -
On Tue, Jun 18, 2013 at 2:20 PM, David Copeland
< <mailto:>> wrote:
That would be the DateOrder property of a TDate Edit, set it to doYMD.
Dave Copeland.
On 06/18/2013 08:10 AM, Johan Tu Toit wrote:
> Good day,
>
> Please how to change the Date format for the TDateEdit component
> to YYYY-MM-DD instead of using the default DD/MM/YYYY?
>
> Thanks in advance
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130618/f039dfd4/attachment.html>