I am consuming an electronic invoicing API and one of the data to enter is: "tIssueDate":"2021.01.11T08:55:16.526614Z"
, which is the Document Issue Date.
I have my date dd/mm/YYYY
and time HH:MM:SS
but T
I Z
don't know what they represent or how to get that current date and time string. Thanks for the help.
It is an ISO format normally used in XML, although this has a variant: it changes the separating hyphens to periods. The T is an indicator/separator for date and time, the Z indicates UTC time.
In Delphi the XSBuiltIns unit provides classes and functions for working with XML data.
You can use (add StrUtils for replacement function):