Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

How to change date format 4 months 3 weeks ago #17141

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
I did try this way: 
initialization
  DateSeparator := '-';
  DateFormat := 'yyyy-MM-dd';
Warning: Symbol "DateSeparator" is deprecated
Error: Identifier not found "DateFormat"

Is there any way to change DateFormat ?
 
MX Linux 21.2.1 Wildflower

Please Log in or Create an account to join the conversation.

How to change date format 4 months 3 weeks ago #17142

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
I found solution that works for me: 
initialization
  FormatSettings.DateSeparator := '-';
  FormatSettings.ShortDateFormat := 'yyyy-MM-dd';
MX Linux 21.2.1 Wildflower

Please Log in or Create an account to join the conversation.

Last edit: by Droid c3p0.

How to change date format 4 months 3 weeks ago #17143

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 777
  • Thank you received: 76
Thanks Sir
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

How to change date format 4 months 2 weeks ago #17146

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Away
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
You are welcome
MX Linux 21.2.1 Wildflower

Please Log in or Create an account to join the conversation.

  • Page:
  • 1