#367 - Parsing and Formatting Dates in Swift
from NSScreencast (free videos)
Working with dates is a task that is universally applicable to Swift developers. Particularly when dealing with an API, dates can arrive in all shapes and sizes. We‘ll examine some of the common ones such as ISO 8601, show how to parse these formats into Date instances, and how to use DateFormatter to display them back again as a string. We‘ll also cover the importance of using en_US_POSIX and honoring the user‘s Locale when displaying dates.
Embed this episode
No transcript yet.
Frequently asked questions
When was this NSScreencast (free videos) episode published?
This episode was published on December 13, 2018.
Can I download this NSScreencast (free videos) episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.