Time.toUniversalTime

Overview | Methods | Fields | This Package | All Packages

Time.toUniversalTime

Creates a new Time object that represents this Time object in the coordinated universal time (UTC) time zone.

Syntax

public Time toUniversalTime()

Return Value

Returns a new Time object that represents this Time object in the UTC time zone.