"Note that to include any of the above characters literally in the result string, they must be enclosed in double quotes."
This only makes sense for FormatDateTime which returns a string you can display. For example: writeln(FormatDateTime(' "yyyy" = yyyy ', now)); To print: yyyy = 2020 -- Alexander Grotewohl https://dcclost.com ________________________________ From: Zamrony P. Juhara <zamron...@yahoo.com> Sent: Tuesday, April 28, 2020 10:44:07 PM To: FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org>; Alexander Grotewohl <a...@dcclost.com>; FPC-Pascal Users Discussions <fpc-pascal@lists.freepascal.org> Subject: Re: [fpc-pascal] Converting http date back to TDateTime No it does not work. Docs says literal string needs to be quoted with " Zamrony P. Juhara On Wed, Apr 29, 2020 at 9:37, Alexander Grotewohl <a...@dcclost.com> wrote: _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org<mailto:fpc-pascal@lists.freepascal.org> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal