toJSON()
X

toJSON()

Metoda toJSON() vrne datumski objekt kot niz, oblikovan kot datum JSON in imajo enako obliko kot standard ISO.