On Thu, Dec 13, 2018 at 5:07 PM luciano de souza <luchya...@gmail.com> wrote:
> Hello all, > I'd like to convert this date "2017-01-11T17:47:22.2912317-02:00" to > TDatetime. > uses restbase; var d: TDateTime; begin d := RFC3339ToDateTime('2017-01-11T17:47:22.2912317-02:00'); WriteLn(DateTimeToStr(d)); // prints 11-1-17 17:47:22 end. Anyway, I'm not sure regarding the tmz part, so take a look at Marco's answer. -- Silvio Clécio
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal