Using TimeUnit to clean up conversion