code: def get_date(info: dict, key):
      try:
          return (
              datetime.strptime(info.get(key), "%Y-%m-%dT%H:%M:%SZ")
              .replace(tzinfo=timezone.utc)
              .astimezone()
              .strftime("%Y-%m-%d")
          )
      except (ValueError, TypeError):
          return ""
  
imports: import json
  import os
  import threading
  import time
  from datetime import datetime, timezone
  import git
  import gradio
  import html
  import shutil
  import errno
  from modules import extensions, shared, paths, config_states, errors, restart
  from modules.paths_internal import config_states_dir
  from modules.call_queue import wrap_gradio_gpu_call
label_desc: Use image node_id 16 for calling a global function with example usage: get_date(info, key) and returns: datetime, str