Type Property 型プロパティ

time

A style displaying only the time component for a date.

Declaration 宣言

static let time: Text.DateStyle

Discussion 議論


Text(event.startDate, style: .time)

Example output: 11:23PM

See Also 参照

Getting Text Date Styles