Version

FormatDate Method (RVBaseFormattingService)

Returns the formatted text representation for a given DateTime data with given formatting settings.
Syntax
'Declaration
 
Public Overridable Function FormatDate( _
   ByVal value As Date, _
   ByVal type As RVDashboardDataType, _
   ByVal formatting As RVDateFormattingSpec, _
   ByVal localTimeZone As Boolean _
) As String
public virtual string FormatDate( 
   DateTime value,
   RVDashboardDataType type,
   RVDateFormattingSpec formatting,
   bool localTimeZone
)

Parameters

value
The DateTime data
type
The specific data type of the DateTime data(Date, Time or DateTime )
formatting
The formatting options for the specified data type
localTimeZone
The flag indicating whether the data is displayed in local time zone
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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