IFormatterFormat Method (DateTime)

Formats a datetime and return a string to be outputted.

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
string Format(
	DateTime datatime
)

Parameters

datatime
Type: SystemDateTime
The datetime value for formatting to string

Return Value

Type: String
See Also