2022 Developer Survey is open! Take survey.
2 votes

Invalid date/time issue in Apex Code

deserializing your datetime (both utc & ISO) in datetime.class should solve the issue. JSON.desrialize('datetime' , Datetime.class); i have tested both format in anynomous block and it is ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible