def get_load_config_timestamp(pefile_object):
    """
    Retrieves the timestamp from the Load Configuration directory.

    :param pefile.PE pefile_object: pefile object.
    :return: Recovered timestamps from PE load config (if any).
    None if there aren't.
    :rtype: int
    """

    timestamp = 0
    if hasattr(pefile_object, 'DIRECTORY_ENTRY_LOAD_CONFIG'):
        loadconfigdata = pefile_object.DIRECTORY_ENTRY_LOAD_CONFIG
        timestamp = getattr(loadconfigdata.struct, 'TimeDateStamp', 0)
    return timestamp