Make sure to encode time in UTC