Display two dates in calculation using relationship fields e.g. 1922 - 2021

Comments

1 comment

  • Ryan Lord

    I think you need to use the 'new Date()' function.

    Try something like this:

    ```

    birth_date = new Date(@All of Date of birth);

    birth_year = birth_date.getFullYear();

    death_date = new Date(@All of Date of death);

    death_year = death_date.getFullYear();

     

    birth_year + " - " + death_year

    ```

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk