If date is Nothing then a blank String will be returned.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| 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. |
A String value.