A script-enabled browser is required for this page to function properly.

ORA_NLS.American_Date

Description

Returns TRUE or FALSE, depending on whether the current date format is "American".

Syntax


FUNCTION Ora_Nls.American_Date
RETURN BOOLEAN;

Returns

TRUE or FALSE.

Example


 /*
** Determine if date format is American
*/
PROCEDURE is_amerdate (out Text_IO.File_Type) IS  
  usd  BOOLEAN;
BEGIN
  usd := Ora_Nls.American_Date;
  IF usd = TRUE
    Text_IO.Put (out, 'Date format is American');
  ELSE
    change_date_to_us;
  ENDIF
END;