from datetime import datetime


def formatUnixToDateString(unixDate):
    """
    Format a UNIX time string to MySQL Datetime Format
    """
    dt = datetime.fromtimestamp(unixDate)
    dateString = dt.strftime("%Y-%m-%d %H:%M:%S")
    return dateString