Table of Contents

OI_GET_LOCALE_DATE Function

Description

Returns the short date within the local format.

Syntax

returnDate = OI_GET_LOCALE_DATE( inDate )

Parameters

The function has the following parameters:

ParameterDescription
inDateA date in Internal format. Defaults to the current date if null.

Returns

A date in output converted format based on the local format.

Remarks

The function will use the Environment Settings Locale to determine the locale. If the Environment Setting is not used, the function will return a date based on the operating system.

See Also

OConv(D), IConv(D), Date()

Example

* If invoking the function from a European locale on 30 April 2010

date = 15461

localDate = OI_Get_Locale_Date( date )

* localDate will contain "30/04/2010"