Click or drag to resize

ILocaleFormatTimeLong Method


Converts a time value to its equivalent string representation using culture-specific long-format information.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
string FormatTimeLong(
	int timeInMilliSeconds,
	bool dateOnly
)

Parameters

timeInMilliSeconds
Type: SystemInt32
Value of DateTime in milliseconds
dateOnly
Type: SystemBoolean
Specifies whether to only include date information.

Return Value

Type: String
Formatted long string of given time.
Examples

Milliseconds: 63512604517280

en-us: Tuesday, August 20, 2013 2:08:37 PM

en-us date only: Tuesday, August 20, 2013

fr-ca: 20 août 2013 14:08:37

fr-ca date only: 20 août 2013

See Also