<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nsdate on Andy Ibanez</title><link>https://www.andyibanez.com/tags/nsdate/</link><description>Recent content in Nsdate on Andy Ibanez</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 05 May 2021 07:00:00 -0400</lastBuildDate><atom:link href="https://www.andyibanez.com/tags/nsdate/index.xml" rel="self" type="application/rss+xml"/><item><title>The NSDateInterval Object</title><link>https://www.andyibanez.com/posts/the-nsdateinterval-object/</link><pubDate>Wed, 05 May 2021 07:00:00 -0400</pubDate><guid>https://www.andyibanez.com/posts/the-nsdateinterval-object/</guid><description>&lt;p&gt;Somehow, this shiny new object, which was actually introduced in iOS 10, flew past my radar. Today I want to take a few minutes to talk about the &lt;code&gt;NSDateInterval&lt;/code&gt; object. This object allows us to quickly calculate the time interval (represented as a &lt;code&gt;NSTimeInterval&lt;/code&gt;) between dates, it allows us to check if two dates overlap, and it allows us to check if a given date is within a certain interval.&lt;/p&gt;</description></item></channel></rss>