Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kmswetha
Creator
Creator

Today()

Hi,

I have question on Today() function.

Say suppose I have deployed in server and executed my app in server on 20th may.

When I open document in access point, on 21st may, what would today() return.

Regards,

swetha

4 Replies
buzzy996
Master II
Master II

hopes, it will return 20th,until u rerun.

Anonymous
Not applicable

If today() was used in the script and saved into a table or variable, then that will contain the date when the script was run.

If it is used dynamically in the dashboard, then it will return the date when it is dynamically run.

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

When you open you document on the 21st, the TODAY() function will display 21st.

Today() function has parameter that can be pass into it and by default the value of TODAY() function value is 2 which means Date when the document was opened. However if you want to display the date the script was ran then use today(0), zero in the brackets to be used.

Hope this helps

Anonymous
Not applicable

If it is in script - May 20th

If it is on the front end - May 21st

If you want May 20th on the front end - use ReloadTime()