The electronic invoice generates a qr-code from a url. This url has several parameters, one of them is the date and time of the issue, which according to the revenue documentation reads:
The value should match the conversion to hexadecimal in box low value in the UTC default with mask.
In a url that I have, this field has 50 bytes, as below:
dhEmi=323031382D30372D32345431323A31323A33352D30333A3030
I would like to know how can I convert this value to a valid datetime in javascript