Swift Date Components & Calculations Tutorial
Go to https://squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN. In this video I show you how to create a Swift Date object from DateComponents and use those dates to demonstrate a few different calculations. I show you how to add or subtracts dates from each other, how to get the time interval between two dates and how to check if two dates are in the same time period. Swift's Calendar object is what makes this all relatively simple for us developers. My iOS Dev Courses: https://seanallen.teachable.com/?vide... Project Source Code: https://seanallen.teachable.com/p/sou... X (Twitter): Sean Allen - / seanallen_dev Hired.com: https://hired.com/x/1n01g Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links): Paul Hudson's Hacking With Swift: https://gumroad.com/a/762098803 Donny Wals - Combine: https://gumroad.com/a/909014131 Mark Moeyken’s SwiftUI Books: www.bigmountainstudio.com/swiftui-views-book/fzc51 Objc.io Books (Thinking in SwiftUI & Advanced Swift): https://gumroad.com/a/656585843 Timestamps: 0:00 - Date Components 0:51 - Create a Date from DateComponents 3:08 - Get Specific Component from a Date 5:12 - Add or Subtract Date from other Date 6:38 - Get Start/End of Time Period from Date 8:47 - Get Time Interval Between Dates 9:50 - Are Two Dates in the Same Time Period #swift #softwaredeveloper #iosdeveloper

WWDC24: SwiftUI essentials | Apple

DateFormatter - Swift

Learn the Essentials of Swift in one hour

Understanding concurrency concepts for Swift 6.2

Swift Optionals - How to Unwrap (real examples)

China Is About To Pop The AI Bubble

My WWDC Recap, SwiftUI Lab Q&A, App Store Removal, and More

3-Hour Serene Yellow & Orange Gradient - Uplift and Relax Your Space

Swift Closures Explained

40Hz Binaural Gamma Waves - Ultra Deep Concentration

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

The World's Most Important Machine

Jimmy Carr Roasts a 17-Year-Old Mouthy Mechanic In Front of His Parents!

Trump Meddles in USA World Cup Game & America's 250th Takes a Nosedive | The Daily Show

NSPredicate for Swift

Write Better Code with Swift Algorithms

SwiftData Basics in 15 minutes

Why AI Agents are either the best or worst thing we’ve ever built

Custom SwiftUI Calendar
![PINK & ORANGE GRADIENT IN HD [3 HOURS]](https://i.ytimg.com/vi/6ih8zppfQSQ/hqdefault.jpg?sqp=-oaymwE9CNACELwBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYfyAsKBMwDw==&rs=AOn4CLDvw6mQM98bfl572zfE7r4GdUG8dg)
