Contents

HKMetadataKeyTimeZone

The user’s time zone when the HealthKit object was created.

Declaration

let HKMetadataKeyTimeZone: String

Discussion

This key takes a string value compatible with the NSTimeZone class’s timeZoneWithName: method. For best results when analyzing sleep samples, it’s recommended that you store time zone metadata with your sleep sample data.

See Also

General Keys