code: def coarse_utcnow():
      """
      # MongoDB stores only to the nearest millisecond
      # This is mentioned in a footnote here:
      # http://api.mongodb.org/python/current/api/bson/son.html#dt
      """
      now = datetime.datetime.utcnow()
      microsec = (now.microsecond // 10**3) * (10**3)
      return datetime.datetime(
          now.year,
          now.month,
          now.day,
          now.hour,
          now.minute,
          now.second,
          microsec,
      )
  
imports: import datetime
  import numpy
  import logging
  import os
  import shutil
  import sys
  import uuid
  import numpy
  from .None import pyll
  from contextlib import contextmanager
label_desc: Use image node_id 12 for calling a global function with example usage: coarse_utcnow() and returns: datetime