How to get current datetime in function field in reports

Shusovit Dutta
Tera Contributor

I want to get the current datetime in the report function field, but it seems glidedatetime does not work here. Please suggest a way I can get the current datetime.

 

ShusovitDutta_0-1706872087522.png

 

 

 

 

4 REPLIES 4

AndersBGS
Tera Patron
Tera Patron

Hi @Shusovit Dutta ,

 

This is not how you can utilize the function field. Function field take two constants from the table in scope and by those two fields you can do a datediff. You can't do a datediff with current timestamp.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi AndersBGS,

How do you report on how many days a record has been open?

Thanks, Audrey

Hi @AN2023 ,

 

This is the correct approach on how to utilize function fields.

AndersBGS_0-1726811465868.png

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi @AndersBGS ,

 

That appears to work great between the open date and the closed date. 

What I'm looking for is to find the datediff between the open date and Today's date.

 

Do you have any tips on how to get that in a formula?

Thanks, Audrey