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.6.308
Syntax string FormatTimeLong(
int timeInMilliSeconds,
bool dateOnly
)
Function FormatTimeLong (
timeInMilliSeconds As Integer,
dateOnly As Boolean
) As String
String^ FormatTimeLong(
int timeInMilliSeconds,
bool dateOnly
)
abstract FormatTimeLong :
timeInMilliSeconds : int *
dateOnly : bool -> string
Parameters
- timeInMilliSeconds
- Type: SystemInt32
Value of DateTime in milliseconds - dateOnly
- Type: SystemBoolean
Specifies whether to only include date information.
Return Value
Type:
StringFormatted long string of given time.
Exceptions 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