code: def to_seconds(dt):
      return int(dt.timestamp())
  
imports: from __future__ import absolute_import
  from contextlib import contextmanager
  from sagemaker import utils
  from sagemaker.experiments.experiment import Experiment
label_desc: Use image node_id 3 for calling a global function with example usage: to_seconds(dt) and returns: int