Oracle9iAS Portal Developer Kit

get_attribute_as_date member function

Contained in package wwsto_api_session.

Call this function to return the value of a date attribute.

member function get_attribute_as_date

(

p_name in varchar2

)

return date;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_name

The name of the attribute.

Datatype: in varchar2

Returns:

This function returns the date value of an attribute, or null if the specified attribute does not exist.

Exceptions:

If the attribute's type indicates that the implementation type is not a date, a VALUE_ERROR exception is raised.

Example:

l_last_accessed := l_user_obj.get_attribute_as_date

(

p_name => 'LAST_ACCESSED'

);

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio