---
title: scheduledDate
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkmedicationdoseevent/scheduleddate
---

# scheduledDate

The date and time the person takes the medication, if scheduled.

## Declaration

```swift
var scheduledDate: Date? { get }
```

## Discussion

Discussion The value is always non-null for HKMedicationDoseEvent.ScheduleType.schedule and always null for  HKMedicationDoseEvent.ScheduleType.asNeeded.
