code: def dateToString(date, strfmt="%Y%m%d"):
      return dt.datetime.strftime(date, strfmt)
  
imports: import datetime
label_desc: Use image node_id 6 for calling a global function with example usage: dateToString(date, strfmt) and returns: dt