Difficulty retrieving portions of Date-Time object

Difficulty retrieving portions of Date-Time object

Having some issues with date-time objects and could use some guidance.

I've retrieved a timestamp from a module, in this case the "Created Time" timestamp.

The timestamp variable returns true for isDate(), but when I attempt to use .getHour(), .getMinutes() or .getSeconds() it returns 0. When I attempt .getDateTime(12, true) on the object, it returns with an incorrect time and date.

Below is a sample of the code I'm using:
  1. rec_time = notes.get(0).get("Created_Time"); // returns 2023-12-11T17:33:49-05:00
  2. info isDate(rec_time); // returns true
  3. info rec_time.getDateTime(12,true); // returns 11th December 2023,12:00:00 AM
The rec_time is a system generated timestamp, so I'd like to figure out how to properly format the date-time object such that I can use it in my function.

Let me know if more information is needed and I appreciate any insight you all can provide.