getZonedTime

fun getZonedTime(timezone: ZoneId = TimeZone.getDefault().toZoneId()): ZonedDateTime

Returns the time-zoned instant that this file object was created. By default, this method uses the system's timezone.

Return

The timezone adjusted date time.

Parameters

timezone

The user's timezone.

See also