code: def today(tzinfo=None):
      """
      Returns a :py:class:`datetime` representing the current day at midnight
  
      :param tzinfo:
          The time zone to attach (also used to determine the current day).
  
      :return:
          A :py:class:`datetime.datetime` object representing the current day
          at midnight.
      """
  
      dt = datetime.now(tzinfo)
      return datetime.combine(dt.date(), time(0, tzinfo=tzinfo))
  
imports: from __future__ import unicode_literals
  from datetime import datetime, time
label_desc: Use image node_id 1 for calling a global function with example usage: today(tzinfo) and returns: datetime