This function retrieves the value of type struct tm associated with an indicated attribute name in a name-value record.