GetFormattedDateTimeForLanguage

Returns a string representation of a double-byte date/time value.

Syntax

<HsvResourceManager>.GetFormattedDateTimeForLanguage(lLanguageId, dDateTime, bDateValueOnly, bTimeValueOnly)
ArgumentDescription
lLanguageId

Long (ByVal). The language ID. You can obtain the IDs of a Financial Management release’s valid languages with GetAvailableLanguages. In addition, you can pass the constants in the HFMConstants enumeration tagHFM_LANGUAGES. This enumeration represents language IDs that are valid for all releases; for more information, see Supported Language Constants.

dDateTimeDouble (ByVal). The timestamp.
bDateValueOnlyLong (ByVal). TRUE to return only the date value.
bTimeValueOnlyLong (ByVal). TRUE to return only the time value.

Return Value

String