I've the start-end date, then how to do that? On Friday, January 24, 2020 at 9:06:12 AM UTC-8, Constantine Vassilev wrote: > > I have the following task: > > 1) a number representing days. > 2) how to convert it to human readable form? > > Like this: > 11 years 3 months 5 days > > The actual calculations are: > > 4095 days = 136.5 months = 11.375 years > > >
-- 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/70cc09a4-0c57-4683-b7b1-de45afcdff6d%40googlegroups.com.