Format a Date value using the document date format.

If date is Nothing then a blank String will be returned.

Syntax

ISSupport.FormatDateDocuments(date, [longDateFormat], [treatComDateZeroAsBlank])

Parameters

NameTypeOptionalByRefDescription
date Date The date to format.
longDateFormat Boolean Optional Indicates whether to use the Long Document Date Format. If omitted, a value of False is assumed.
treatComDateZeroAsBlank Boolean Optional Indicates whether to treat a COM-based date with a value of zero as a blank date. If omitted, a value of True is assumed.

Return Value

String

A String value.

Member of:
ISSupport
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0