ERPNext Utils, Dates

I am trying to understand if ERPNext dates/times (frappe.datetime) is handled the same as python datetime, because that doesn’t seem to work. I have searched for documentation on this and come up empty.

It would also be great to understand what functions can be leveraged in the frappe utilities, instead of undocumented automagicals. Is there a recommended resource for this as well?

Here is the documentation link