ILocaleFormatTimeLong Method Ingeniux CMS Content Store API

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: 9.0.565.0 (9.0.565)
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

Reference