Why not just remove the dot? You know where it is: https://play.golang.org/p/ZHqHTOeA7HQ Perhaps there is a better way, but this seems to work.
On Tuesday, July 14, 2020 at 7:00:02 AM UTC-4, Vasiliy Tolstov wrote: > > Hi! I'm read several times godoc about the time package but have now > way to deal with it. > I need to output strings with format YYYYMMDDHHMMSSMILLISEC without > dot in string. But go able to output milliseconds only in case of .000 > > > -- > Vasiliy Tolstov, > e-mail: v.to...@selfip.ru <javascript:> > -- 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/eb0a4ef8-19ed-46aa-be3c-257387795174o%40googlegroups.com.