Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.person.SetBirthdayComponents
Sets the birthday data components.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 5.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.person.SetBirthdayComponents"; PersonID { ; Year; Month; Day } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
PersonID | The unique ID for the target person. | $personID | |
Year | The year. Can be empty for no year. | 1981 | Optional |
Month | The month. Can be empty for no month. | 12 | Optional |
Day | The day. Can be empty for no day. | 1 | Optional |
Result
Returns OK or error.
Description
Sets the birthday data components.This allows to set a birthday without knowing the year.
Require OS X 10.7 or newer.
Examples
Set birthday to 6th May:
MBS( "Addressbook.person.SetBirthdayComponents"; $personID; ""; 5; 6)
Blog Entries
This function is free to use.
Created 23th October 2015, last changed 14th July 2022
