Birthday
array CSocNetTools::Birthday( date datetime, char gender, char showYear = "N" );
The method processes birthday data to be displayed. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
datetime | Birthday | |
gender | Gender. Available values: M - male, F - female, X - unassigned. | |
showYear | Set birthday display conditions. Available values: Y - show birthday, M - show only for male gender, N - do not show. |
Returned value
The method returns array with keys: DATE - formatted birthday, MONTH - birth month, DAY - day.
© «Bitrix24», 2001-2024