João Rosado wrote:
en what major version would that be and what function?
SyntaxEditor Code Snippet
FormatDateTime(CurrDateTime(),"yyyy-MM-dd HH:mm:ss.fff")
has got no effect...(well it only shows 000 at the end)
Hi J,
Thats because the CurrDateTime() does not include the milliseconds. But if your date comes from an external source like an integration, from doing a Datetime.Now in an extension or even in a new Date() Javascript Node, the miliseconds are preserved and can be converted to text with that FormatDateTime function.
So like Justin said, if that function CurrDateTimeMS() returned a DateTime it would have the milliseconds, just that anyone writing that to a screen as a Text would need to use the FormatDateTime explicitly as the default text conversion does not output it.
FormatDateTime was introduced in version 10 and replaces (with an automatic upgrader) all the other date formatting builtin functions that were in previous versions.
Regards,João Rosado
In short, the extension should have had Date Time output since the beginning.