ILocaleFormatTimeLong Method
|
Converts a time value to its equivalent
string representation using culture-specific long-format
information.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxstring 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 Int32
- Value of DateTime in milliseconds
- dateOnly Boolean
- Specifies whether to only include date information.
Return Value
StringFormatted long string of given time.
Exceptions
ExampleMilliseconds: 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