def date_print(date):
    """
    Prints date in format: %Y%m%d %H:%M:%s.

    :param datetime date: Accepts datetime or phony datetime objects
    :returns: The corresponding formatted date to print
    :rtype: *str*

    """
    return '{0:04d}-{1:02d}-{2:02d} {3:02d}:{4:02d}:{5:02d}'.format(date.
        year, date.month, date.day, date.hour, date.minute, date.second)
