I would like age calculated from the DOB in an Layout Based Form to display as Year-Month-Day. I am using the “A” option with text-date data type and have the globals_locale set to display YMD. The global doesn’t seem to affect calculated age in an LBF. I get age in years returned to the form. What can I do to get age in the YMD fomat in an LBF
The code is in library/options.inc.php. But don’t re-use option B, add a new option… that way you can contribute your change instead of solving just one person’s problem in a way that has to re-applied after every upgrade.