--- title: "QQ - How do I use the current date or time in expressions and calculations?" slug: "qq-how-do-i-use-the-current-date-or-time-in-expressions-and-calculations" updated: 2022-10-10T08:21:15Z published: 2022-10-10T08:21:15Z canonical: "docs.datajet.app/qq-how-do-i-use-the-current-date-or-time-in-expressions-and-calculations" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # QQ - How do I use the current date or time in expressions and calculations? Use the Engineering | Expression Field **Date functions** #### Use today() function to calculate days since an event. Calculate days since [End Date]. Note: [End Date] is a date-time field, so the date() function is used to extract the date from the datetime. DaysAgo = today() - date([end Date]) ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665389931933.png) ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1665389843905.png)