Also note if you need extreme accuracy, that if you are crossing a daylight 
saving time adjustment boundary, then the integer division above can be 
off. If that is a problem, you may want to divide in float64 space and then 
round instead.

-- 
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/63238b2a-6b61-4633-ba23-dc77d49a1f45%40googlegroups.com.

Reply via email to