nanoseconds_from_2001_to_datetime#

langchain_community.chat_loaders.imessage.nanoseconds_from_2001_to_datetime(nanoseconds: int) datetime[source]#

Convert nanoseconds since 2001 to a datetime object.

Parameters:

nanoseconds (int) – Nanoseconds since January 1, 2001.

Returns:

Datetime object.

Return type:

datetime