Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

HealthKit.DateOfBirth

Queries date of birth for user.

Component Version macOS Windows Linux Server iOS SDK
HealthKit 8.2 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "HealthKit.DateOfBirth" )

Parameters

none

Result

Returns date or error.

Description

Queries date of birth for user.
Returns the user's date of birth in the Gregorian calendar.
Before calling this method, the application should request authorization to access objects with the DateOfBirth type.

Examples

Show date of birth as date and components:

Show Custom Dialog [ "Date of Birth" ; MBS( "HealthKit.DateOfBirth" ) & ¶ & MBS( "HealthKit.DateOfBirthComponents" ) ]

See also

This function is free to use.

Created 25th April 2018, last changed 25th April 2018


HealthKit.BloodType - HealthKit.DateOfBirthComponents