Contents

timer

A style displaying a date as timer counting from now.

Declaration

static let timer: Text.DateStyle

Discussion

Text(event.startDate, style: .timer)

Example output: 2:32 36:59:01

See Also

Getting text date styles