Format a Date value including a Time portion using the Long Date format.

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

Syntax

ISSupport.FormatDateTimeLong(date, [longTimeFormat], [omitTimeIfMidnight], [omitTrailingFullStop])

Parameters

NameTypeOptionalByRefDescription
date Date The date to format.
longTimeFormat Boolean Optional Indicates whether to use the Long Time Format. If omitted, a value of False is assumed.
omitTimeIfMidnight Boolean Optional Indicates whether to omit the Time portion if it is midnight i.e. unspecified. If omitted, a value of False is assumed.
omitTrailingFullStop Boolean Optional Indicates whether to omit the trailing full stop - used when the date and time are at the end of a sentence. If omitted, a value of False 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