code: def format_date(obj):
      if isinstance(obj, datetime):
          return str(obj)
  
imports: import keyword
  import enum
  import json
  from datetime import datetime
  import jsonschema
  from enum import Enum
  import six
label_desc: Use image node_id 1 for calling a global function with example usage: format_date(obj) and returns: str