import calendar
import time


def strtime2unix(strtime):
    """convert zkill time string to unix epoch time"""
    utime = calendar.timegm(time.strptime(strtime, '%Y.%m.%d %H:%M:%S'))
    return utime