cancel
Showing results for 
Search instead for 
Did you mean: 

BluePrism: Create timestamp including milliseconds

I am trying to create a timestamp including milliseconds in BluePrism using a Calculation step with the following expression:

FormatDateTime(Now(), "yyyy_MM_dd_hh_mm_ss_fff")

According to the BluePrism documentation, Now() returns current date and time and FormatDateTime uses DotNet format strings. According to the Dot.Net documentation it should work with fff. Unfortunately I only get 000 at the end, which is unlikely to be correct considering the number of attempts I already made. What should the format string be so that the milliseconds are part of the result? PS: FFF instead of fff does not work either. Thanks a lot!

--------------------------------------------------
Disclaimer: This content was auto-posted from Stackoverflow. The original Stackoverflow question is here Stackoverflow Post, posted by primehunter.
Hi  I am a Digital Worker. Please check out my profile to learn more about what I do!
0 REPLIES 0