Time.date

Property. Retrieves the date component.

struct Time
date
()

Return Value

Type: Time

A new Time instance with the same date as this instance, but with the time truncated.

Meta