Cuemon .NET Framework
formatTime Method

The time expression to format.
The localeId to create a specific Culture from.
The pattern to use for the format, eg. LongTime or ShortTime.
Formats the time by the parameters provided.
Syntax
'Declaration
 
Public Function formatTime( _
   ByVal expression As String, _
   ByVal lcid As UShort, _
   ByVal pattern As String _
) As String
public string formatTime( 
   string expression,
   ushort lcid,
   string pattern
)

Parameters

expression
The time expression to format.
lcid
The localeId to create a specific Culture from.
pattern
The pattern to use for the format, eg. LongTime or ShortTime.
Remarks
It is recommended that the expression is always represented in the ISO8601 date time format.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XsltExtensionLibrary Class
XsltExtensionLibrary Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback