--- title: "Reformat the Birthday" slug: "reformat-the-birthday" description: "How to reformat the format of the birthDate field in Studio" tags: ["Studio", "Field Mappings", "Advanced"] updated: 2023-07-31T17:56:52Z published: 2023-07-31T17:56:52Z canonical: "help.rapididentity.com/reformat-the-birthday" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Reformat the Birthday ## How to Reformat the Birthday Value The OneRoster standard format for `birthDate` is `yyy-mm-dd`. Use the following expression to reformat the a user's birthdate based on a target application's specific need ``` function() { const bday = SRC.birthDate[0]; if (bday && typeof bday === 'string') { const bdaySplit = bday.split('-'); return bdaySplit[1] + '/' + bdaySplit[2] + '/' + bdaySplit[0]; } return '' } ``` ## Related - [Studio Expressions](/expressions.md) - [Studio Mapping Expressions](/studio-mapping-expressions.md) - [Examples of Mapping Expressions](/examples-of-mapping-expressions.md)