code: def _session_date_2_meas_date(session_date, date_format):
      try:
          frac_part, int_part = modf(
              datetime.strptime(session_date, date_format).timestamp()
          )
      except ValueError:
          warn(
              "  Could not parse meas date from the header. Setting to None."
          )
          return None
      else:
          return (int_part, frac_part)
  
file_path: mne-python/mne/io/cnt/_utils.py
imports: from collections import namedtuple
  from datetime import datetime
  from math import modf
  from os import SEEK_END
  from struct import Struct
  import numpy
  from ...utils import warn
label_desc: Use image node_id 3 for calling a global function with example usage: _session_date_2_meas_date(session_date, date_format) and returns: int_part,  frac_part, None