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

TOPIC:

How to change date format 2 years 4 months ago #17141

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • 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 23.2;
Typhon version: 8.4
OS: 64 bit MX Linux or 64 bit Windows 11

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

How to change date format 2 years 4 months ago #17142

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
I found solution that works for me: 
initialization
  FormatSettings.DateSeparator := '-';
  FormatSettings.ShortDateFormat := 'yyyy-MM-dd';
MX Linux 23.2;
Typhon version: 8.4
OS: 64 bit MX Linux or 64 bit Windows 11

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

Last edit: by Droid c3p0.

How to change date format 2 years 4 months ago #17143

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

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

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

  • Droid c3p0
  • Droid c3p0's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
You are welcome
MX Linux 23.2;
Typhon version: 8.4
OS: 64 bit MX Linux or 64 bit Windows 11

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

  • Page:
  • 1