code: def floor(at):
      if isinstance(at, datetime):
          return at
      return at.floor()
  
imports: import calendar
  import copy
  from datetime import date, datetime, timedelta
  from whoosh.compat import iteritems
label_desc: Use image node_id 5 for calling a global function with example usage: floor(at) and returns: at, at