RenderTime Method (ObjectRenderer Object)
RenderTime Method (ObjectRenderer Object)
Important The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.
The RenderTime method renders the time portion of the supplied date/time.
Syntax
strHTML = objObjectRend.RenderTime(varDate, varFormat [, varResponseObject] )
strHTML
On successful return, contains a string representing the time. However, if the varResponseObject parameter is supplied, RenderTime returns a value of Empty.
objObjectRend
Required. This ObjectRenderer object.
varDate
Required. Variant (vbDate format). The date/time to be rendered as a time.
varFormat
Required. String. The format picture string to use for the time output.
varResponseObject
Optional. Object. An Active Server response object used to accumulate HTML output to send to the browser. This parameter is used primarily in ASP applications. If varResponseObject is not supplied, the output is written to strHTML.
Remarks
The RenderTime method ignores the date component of the vbDate format. You can render the date component with the RenderDate method.
The varFormat parameter specifies a picture for the output. Its contents are defined in the Win32® function GetTimeFormat.