[fpc-pascal] FormatSettings in library vs application

Luca Olivetti luca at ventoso.org
Sun Apr 19 22:04:15 CEST 2020


El 19/4/20 a les 19:11, Graeme Geldenhuys ha escrit:

> 2) Is the better solution to define a local TFormatSettings, define the
> ShortDateFormat for that record, and then pass that to DateToStr as the
> 2nd parameter?

You could also use FormatDateTime

Bye

--
Luca


More information about the fpc-pascal mailing list