code: def num2dt(num, tz=None, naive=True):
      return num2date(num, tz=tz, naive=naive).date()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import datetime
  import math
  import time
  from .py3 import string_types
label_desc: Use image node_id 4 for calling a global function with example usage: num2dt(num, tz, naive) and returns: num2date