code: def nowInMillis():
      endTime = (
          long(total_seconds(datetime.utcnow() - datetime(1970, 1, 1)))
          * 1000
      )
      return endTime
  
file_path: gluon-cv/tools/batch/submit-job.py
imports: import argparse
  import random
  import re
  import sys
  import time
  from datetime import datetime
  import boto3
  from botocore.compat import total_seconds
label_desc: Use image node_id 2 for calling a global function with example usage: nowInMillis() and returns: endTime