Skip to main content

system.kanoa.utilities.javaDateToPython

This function requires KanoaCore module

Description

Converts java.util.date object to python datetime object (kanoaCore).

Syntax

javaDateToPython(date)
  • Parameters
      date (Java.util.date) - The Java.util.date object.
  • Returns
      datetime (Datetime) - The Python datetime object.
  • Code Example

    # Example Usage:
    python_datetime = system.kanoa.utilities.javaDateToPython(java_util_date)