Date format in an NF-e

5

Hello, I'm developing a screen that will generate an NF-e and the moment I went to work with the dates I discovered that it needs to be sent in a specific format that I do not know and did not find anything on the internet. p>

2015-02-12T15: 20: 16-02: 00

Would anyone know what format this would be? and how you do it, because I need to work with it.

    
asked by anonymous 24.02.2015 / 20:23

1 answer

3

This format is the UTC (Universal Coordinated Time) standard, where the date is YYYY-MM-DDThh: mm: ssTZD.

Where:

AAAA : Year

MM : Month

DD : Day

hh : Hours

mm : Minutes

ss : Seconds

TZD : Your timezone (timezone)

As for the format, you can find what you need in this link of the OS itself.

    
24.02.2015 / 20:38