[Lazarus] Change the Date format for the TDateEdit component

David Copeland david.copeland at jsidata.ca
Tue Jun 18 15:18:04 CEST 2013


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.

On 06/18/2013 08:30 AM, Johan Tu Toit wrote:
> 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
> <david.copeland at jsidata.ca <mailto:david.copeland at jsidata.ca>> 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-ide.org/pipermail/lazarus/attachments/20130618/f039dfd4/attachment-0003.html>


More information about the Lazarus mailing list