Time.setDate

Overview | Methods | Fields | This Package | All Packages

Time.setDate

Creates a new Time object that contains the date from another Time object and the time of day from this Time object.

Syntax

public Time setDate( Time date )

Parameters

date

A Time object that contains the date that you want to combine with the current Time object's time value.

Return Value

Returns a new Time object that combines the date from the date parameter and the time from the current Time object.

Remarks

Use this method to create a new Time object that is a combination of two different Time objects.

See Also   setTimeOfDay