- Posts: 11
- Thank you received: 0
×
CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems
Question How to change date format
- Droid c3p0
-
Topic Author
- Offline
- New Member
-
Less
More
3 weeks 5 days ago #17141
by Droid c3p0
How to change date format was created by Droid c3p0
I did try this way: Warning: Symbol "DateSeparator" is deprecated
Error: Identifier not found "DateFormat"
Is there any way to change DateFormat ?
initialization
DateSeparator := '-';
DateFormat := 'yyyy-MM-dd';
Error: Identifier not found "DateFormat"
Is there any way to change DateFormat ?
Please Log in or Create an account to join the conversation.
- Droid c3p0
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
3 weeks 5 days ago - 3 weeks 5 days ago #17142
by Droid c3p0
Replied by Droid c3p0 on topic How to change date format
I found solution that works for me:
initialization
FormatSettings.DateSeparator := '-';
FormatSettings.ShortDateFormat := 'yyyy-MM-dd';
Last edit: 3 weeks 5 days ago by Droid c3p0.
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
- Droid c3p0
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
3 weeks 5 days ago #17146
by Droid c3p0
Replied by Droid c3p0 on topic How to change date format
You are welcome
Please Log in or Create an account to join the conversation.