Platform SDK: CDO 1.2.1

RenderTime Method (ContainerRenderer Object)

The RenderTime method renders the time portion of the supplied date/time.

Syntax

strHTML = objContRend.RenderTime(varDate, varFormat [, varResponseObject] )

strHTML
On successful return, contains a string representing the time. However, if the varResponseObject parameter is supplied, RenderDate returns a value of Empty.
objContRend
Required. This ContainerRenderer 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.