• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

How can we calculate DOB from date field?

New Here ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

Calculate dob and print as Year, month and date Like (29 years 8 months 24 days). and is there any way to vadidate normal text box as mm/dd/yyyy ?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

102

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

Try searching the forums. This issue was discussed here many times in the past, including code samples.

Try looking for "age calculation".

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

LATEST

And there's no need to validate a field (although that's possible). Just set its Format to Date and specify that pattern.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines