Date of Birth (Age)

1 month 1 day ago #324394 by lynaritic
Date of Birth (Age) was created by lynaritic
Hello

New here to forums, I am sure this has been answered before. But, I honestly did a search and found only one thread that points to a 404 page.

I would like to display a persons date of birth with their age in brackets next to it "DOB (age)"

Could you help me out please and let me know how to do this.

Thank you

Please Log in to join the conversation.

1 month 1 day ago #324400 by krileon
Replied by krileon on topic Date of Birth (Age)
It's possible, but you'll have no formatting for the DOB display, which will be in SQL formatted 0000-00-00. Use the below parameters in your date field to display it like that.

Layout
Profile Value Layout: [FIELD_NAME_HERE] ([value])
Display
Profile View Display: Age

Be sure to replace FIELD_NAME_HERE with the actual name of the date field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

1 month 1 day ago #324410 by lynaritic
Replied by lynaritic on topic Date of Birth (Age)
Thank you

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.414 seconds