[RESOLVED]Conversion error due to wrong date format. lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Soner · 2018-02-16 13:13 I have compiled my programm on mac now I get conversion error due to wrong date format. OS has german locale settings (dd.mm.yyyyy) but lazarus app shows in calendars mm.yy.yyyy format also strtodate gives conversion error. How can my program take system date format settings? ---------------------------------------------------------------------- RayoGlauco · 2018-02-16 14:37 In SysUtils unit, there is a variable named FormatSettings, whose values are determined automatically from the locale settings of the computer when the program is started. You should take a look at this: https://www.freepascal.org/docs- html/rtl/sysutils/tformatsettings.html ---------------------------------------------------------------------- Soner · 2018-02-16 18:03 @RayoGlauco I did so, but I wanted Systemsetttings. Now I found the solution. If someone has same problem look here: http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Locale_settin gs_.28date_.26_time_separator.2C_currency_symbol.2C_....29