Today's and next birthdays

Viewing 6 reply threads
  • Author
    Posts
  • June 29, 2016 at 12:45 PM #17587

    Juriaan Bakker
    Participant

    Hi Brendan,

    I want to create a database of birthdays of my family. On these days I would like to make the following query, “today’s and next birthdays”. Can you explain me me how to do this, I can not find the calculation functions to do this by myself.
    Thank you in advance.

    Juriaan Bakker

    June 30, 2016 at 7:17 PM #17596

    Brendan
    Keymaster

    Hi Juriaan,

    You can do a query for any record where a specific date field is today. To do that, click on your form, then click on the gear button. Then select the date you want and then click on your Date field. From the comparisons popup button, select “is today”.

    But there’s nothing specific to filter records for the “next birthday”.

    July 3, 2016 at 11:06 AM #17628

    Juriaan Bakker
    Participant

    Brendan,

    Thanks for your explanation.

    Juriaan

    September 14, 2019 at 9:19 AM #36752

    john cesta
    Participant

    I don’t think the today or any dates queries find based on the month and day as

    04/25

    In order to find birthdays.

    I would suspect there’s a way to write an Js to pull out the day and month

    September 14, 2019 at 9:21 AM #36753

    john cesta
    Participant

    Never mind I found this

    DATE(Date Field, “MM/dd”)

    September 14, 2019 at 9:52 AM #36754

    john cesta
    Participant

    Must use this in order to search

    DATE(Date Field, “MMdd”)

    I.e.
    0425
    0914

    September 15, 2019 at 1:26 AM #36758

    Sam Moffatt
    Participant

    Wrap the search term in quotes and it might find it with the slash in it.

    I commonly have a section heading for small fields like this at the bottom of the record, either called “Calcs”, “Join Fields” or “Linking Metadata” that I hide these calculation or script fields in. This helps me split out these sorts of fields that I use for search purposes (like combining shipping tracking numbers together or computing alternate order ID’s) and then collapse the section to hide them. You can also hide the collapsed section heading field to make it all disappear entirely without having to toggle the hidden state on each field. For me collapsing the section heading is enough but depending on your environment you might be interested in hiding it as well.

Viewing 6 reply threads

You must be logged in to reply to this topic.