def ConvertAtomTimestampToEpoch(timestamp):
  return time.mktime(time.strptime(timestamp, '%Y-%m-%dT%H:%M:%S.000Z'))
  ## TODO: Timezone aware
Helper function to convert a timestamp string, for instance
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/photos/service.py/ConvertAtomTimestampToEpoch