> Strange that I can't find a Nim implementation of strftime, which has %f for 
> microseconds

Yes, this is exactly what I was looking for and what I successfully used in 
Python (I've got something similar working in Rust as well). For the 
milliseconds() proc in the times docs it is specifically mentioned that "Note: 
not all time functions have millisecond resolution". If this is true for the 
string representations (it seems to be) it's unfortunately bit of a showstopper 
at the moment but...

> Probably not the prettiest way to do this, but here's a thought: [CODE]

...I can probably compartmentalise some variant of your code well enough as a 
stopgap measure until date time objects and their string representations 
include sub-second values, if such functionality is indeed in the pipeline.

Thanks for your help!

Reply via email to