def timestamp_fmt(value, fmt):
return int(calendar.timegm(<EOL>datetime.datetime.strptime(value, fmt).utctimetuple()<EOL>))<EOL>
Convert timestamp string to time in seconds since epoch.

    Wraps the datetime.datetime.strptime(). This is slow use the other
    timestamp_*() functions if possible.

    Args:
        value: A timestamp string.
        fmt: A timestamp format string.

    Returns:
        The time in seconds since epoch as an integer.