Recent

Author Topic: [SOLVED] System date format ?  (Read 3810 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3820
    • StrumPract is the musicians best friend
[SOLVED] System date format ?
« on: December 30, 2010, 07:35:00 pm »
Hello
How can i retrieve the sytem format date ?
I mean how can i know wich kind of date is in use (DD/MM/YY or MM/DD/YY or YY/MM/DD).
Thanks

« Last Edit: December 30, 2010, 08:09:27 pm by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: System date format ?
« Reply #1 on: December 30, 2010, 07:47:38 pm »
Code: [Select]
  ShowMessage(LongDateFormat);
  ShowMessage(ShortDateFormat);

Fred vS

  • Hero Member
  • *****
  • Posts: 3820
    • StrumPract is the musicians best friend
Re: System date format ?
« Reply #2 on: December 30, 2010, 08:08:35 pm »
@ Typo.
Brilliant.
Thanks  ;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018