Now can accept unix time or string time