[fpc-pascal] Converting http date back to TDateTime
alex at dcclost.com
Wed Apr 29 04:59:39 CEST 2020
"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.
writeln(FormatDateTime(' "yyyy" = yyyy ', now));
yyyy = 2020
From: Zamrony P. Juhara <zamronypj at yahoo.com>
Sent: Tuesday, April 28, 2020 10:44:07 PM
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>; Alexander Grotewohl <alex at dcclost.com>; FPC-Pascal Users Discussions <fpc-pascal at 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
<alex at dcclost.com> wrote:
fpc-pascal maillist - fpc-pascal at lists.freepascal.org<mailto:fpc-pascal at lists.freepascal.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal