Change Birthdate format to USA mm/dd/yyyy

Michael Berry Posted in Technical Support 3 years ago

How can I change the format of the BIRTHDATE field from DD/MM/YYYY to MM/DD/YYYY ? It appears this may have been a setting on initial installation that we missed? Please advise. Thanks.

Replies
us Michael Berry Replied 3 years ago

Thanks. I have cache disabled as we are working on a few other functionality improvements so no issue there. I made the edit to installation/actions/account.php but no change to the birthdate field either on update of existing user or registration of new user. At present we have about 20 users active. Thanks.

German Bob Weston Replied 3 years ago

Goto the account.php file located at installation/actions/

change:

$user['birthdate'] = "{$user['bdd']}/{$user['bdm']}/{$user['bdy']}";

to:

$user['birthdate'] = "{$user['bdm']}/{$user['bdd']}/{$user['bdy']}";

don't forget to flush the cache after uploading the file.

German Michael Zülsdorff Replied 3 years ago

How many members are we talking about?

Premium Version

Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.

$199 (Life Time)
Learn More

Other Questions