support milliseconds, but return seconds from the epoch utc by default