Why there is a datetime format so different as compare to what I see in the UI vs SOQL/APEX and I can not figure out what is going on. Can anybody please explain or what I'm doing wrong here?
In the UI this is what I see:
5/27/2021 6:30 AM
and when I query I see this:
when I ran the apex code I see this:
String data = '2021-05-27T11:30:00.000+0000'; Datetime dt = (DateTime)JSON.deserialize('"' + data + '"', DateTime.class); system.debug( dt);
My question, why is it not showing what is in the UI?