I have this date string:

"2020-09-23 18:31:41.015852841 +0000 UTC"

the above is generated via:


*time.Now().UTC().String()*

my question is, how can I generate a date string like this:

"2020-09-23 18:31:41.0158"

and how can I then parse it?  I dont need to indicate that it's UTC, I can 
*assume* it's UTC.
But I want to include 4 decimal points.  1 digit more granular than 
milliseconds, whatever that's called (trivia!).

-alex





-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b38c3590-26fb-4d5d-9471-fb95d68ee074n%40googlegroups.com.

Reply via email to