Here goes:
- Text Tool: Create a Text Column with "Today's Date" in any font, style or format.
- Text Tool: Add the following Names to the selected Text: htmlblocktext & today (separately).
- Select Tool: Select the text object and then Utilities > Web Properties > Placeholder > HTML Code Insertion > HTML code (body), add:
Code:<script> document.getElementById("today").innerHTML = Date().substr(4, 11); </script>- Done.
Change the range of the substr parameters to extract more or less as you need; drop it altogether to get the full Date() value ... = Date();].
Example file: JS-Today.xar.
Acorn
Bookmarks