import time


def formatDatetime(date):

    """
    It return the timestamp of a concret date.

    Args:
        date: A datetime object.

    Returns:
        An integer containing the timestamp of a concrete date.
    """

    return int(time.mktime(date.timetuple()))*1000