[Main] Use Date.toISOString in formatTime function
Merge pull request #1822 from dalcde/simple-iso

[Main] Use Date.toISOString in formatTime function