Convert data type to timestamp with milliseconds


I receive a file and in that filename is a timestamp down to the millisecond.

How can we convert this in EasyMorph to a timestamp ?

The part after the second underscore is the datimestamp.


  date("20210921100458000", "yyyyMMddHHmmssfff")

All the format options are here: syntax:functions:date [EasyMorph Help]

1 Like


Thanks that works !
I had a look at the documentation before I made the post but is the “fff” mentioned somewhere because that’s new to me apparently ?

Thanks !

The last “See also” link in the help article mentioned in my previous post leads to a page with more formats: Custom date and time format strings | Microsoft Docs