---
title: exerciseTimeGoal
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkactivitysummary/exercisetimegoal
---

# exerciseTimeGoal

The user’s daily goal for exercise time.

## Declaration

```swift
var exerciseTimeGoal: HKQuantity? { get set }
```

## Discussion

Discussion The HKQuantity object for this property must use time units.

## See Also

### Accessing the summary’s data

- [activityMoveMode](healthkit/hkactivitysummary/activitymovemode.md)
- [HKActivityMoveMode](healthkit/hkactivitymovemode.md)
- [activeEnergyBurned](healthkit/hkactivitysummary/activeenergyburned.md)
- [activeEnergyBurnedGoal](healthkit/hkactivitysummary/activeenergyburnedgoal.md)
- [appleMoveTime](healthkit/hkactivitysummary/applemovetime.md)
- [appleMoveTimeGoal](healthkit/hkactivitysummary/applemovetimegoal.md)
- [appleExerciseTime](healthkit/hkactivitysummary/appleexercisetime.md)
- [appleExerciseTimeGoal](healthkit/hkactivitysummary/appleexercisetimegoal.md)
- [appleStandHours](healthkit/hkactivitysummary/applestandhours.md)
- [standHoursGoal](healthkit/hkactivitysummary/standhoursgoal.md)
- [appleStandHoursGoal](healthkit/hkactivitysummary/applestandhoursgoal.md)
- [HKCategoryValueAppleStandHour](healthkit/hkcategoryvalueapplestandhour.md)
- [dateComponents(for:)](healthkit/hkactivitysummary/datecomponents(for:).md)
