<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 5:07 PM luciano de souza <<a href="mailto:luchyanus@gmail.com">luchyanus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
I'd like to convert this date "2017-01-11T17:47:22.2912317-02:00" to TDatetime.<br></blockquote><div><br></div><div><div>uses restbase;</div><div><br></div><div>var</div><div> d: TDateTime;</div><div>begin</div><div> d := RFC3339ToDateTime('2017-01-11T17:47:22.2912317-02:00');</div><div> WriteLn(DateTimeToStr(d)); // prints 11-1-17 17:47:22</div><div>end.</div></div><div><br></div><div>Anyway, I'm not sure regarding the tmz part, so take a look at Marco's answer.</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div></div></div></div>