The following constants can be used universally for all users to retrieve data about the current doc, current date, or user using the doc:
- !{CURRENT_YEAR} - The current year
- !{TODAY} - The current full date and time (format: Mon May 22 13:26:35 GMT-05:00 2023)
- !{DOC_OWNER_NAME} - The name of the owner of the document
- !{USER_NAME} - The name of the current user
- !{USER_EMAIL} - The email address of the current user
- !{DOC_URL} - The url of the current document
- !{DOC_TITLE} - Title of the document
- !{LAST_MODIFIED} - Last modified date (format: Mon May 22 13:26:35 GMT-05:00 2023)
- !{LAST_MODIFIED_DMY} - Last modified (format: 22/05/2023)
- !{LAST_MODIFIED_MDY} - Last modified (format: 05/22/2023)
- !{LAST_MODIFIED_YMD} - Last modified (format: 2023-05-22)