Enumeration

DateFormatter.Style

The following constants specify predefined format styles for dates and times.

Declaration

enum Style : UInt

Overview

The format for these date and time styles is not exact because they depend on the locale, user preference settings, and the operating system version. Do not use these constants if you want an exact format.