time must be in UTC