github.com/jimoe/timeperiod (go): Convert strings like "3m", "2w" and "5d" to seconds, milli-, micro- or nanoseconds
Keywords: go|golang