title: Set repeat Local notification from date
body: <p>I want to set a repeat Local notification from date. For Example:</p>
  
  <p><strong>StartDate: 25 June 2018</strong></p>
  
  <p><strong>Todays Date: 21 June 2018</strong></p>
  
  <p>I am stuck here. Below code is working but it is firing local notification from today not from 25 June 2018.</p>
  
  <p><em>Please have a look to my Local Notification function:</em></p>
  
  <pre><code>func scheduleDosageLocalNotification(date: Date) {
  
          reminder.dosageIdentifier = "Dosage_Day"
  
          var calendar = Calendar.current
          calendar.timeZone = TimeZone.current
  
          let notificationContent = UNMutableNotificationContent()
          // Configure Notification Content
          notificationContent.title = "DOSAGE REMINDER"
          notificationContent.body = "Remember to take your TEST tablet dialy."
  
          // Set Category Identifier
          notificationContent.categoryIdentifier = Notification.Category.First
          var components = calendar.dateComponents([.hour, .minute], from: date)
  
          components.hour = 08
          components.minute = 00
  
  
          let notificationTrigger = UNCalendarNotificationTrigger(dateMatching: components, repeats: true)
         // let notificationTrigger = UNTimeIntervalNotificationTrigger(timeInterval: interval!, repeats: true)
  
          // Create Notification Request
          let identifier = "Dosage_Day"
  
          let notificationRequest = UNNotificationRequest(identifier: identifier, content: notificationContent, trigger: notificationTrigger)
  
          // Add Request to User Notification Center
          UNUserNotificationCenter.current().add(notificationRequest) { (error) in
              if let error = error {
                  print("Unable to Add Notification Request (\(error), \(error.localizedDescription))")
              }
  
              Utilities.saveContextForAppInfo()
          }
  
      }
  </code></pre>
  
  <p>It should repeat daily but from 25th of June.
  <strong>Thanks in Advance!!</strong></p>