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/4534a893-73f1-495a-be64-1992a3b4819f%40googlegroups.com.

Reply via email to