Add date formatting to <%TOPICLASTEDITED%>

Nothing is perfect! This is where you can post your ideas and wishes for functions you'd like to see in Help & Manual. Current version only please (H&M7).

Moderators: Alexander Halser, Tim Green

Post Reply
Andie Davidson
Posts: 17
Joined: Wed Apr 05, 2017 9:38 am

Add date formatting to <%TOPICLASTEDITED%>

Unread post by Andie Davidson »

Any project with many topics, some of which are rarely updated, others where last edit date is important, will need to use <%TOPICLASTEDITED%>.

Providing <%TOPICLASTEDITED%> reflects the date stamp of the topic xml file, this can be added to the default HTML template for automatic edit stamping.

However, for global organisations, the default date stamp format is ambiguous up to the 12th of the month: 12/02/2018 - 12 Feb or 2 Dec?

Being able to format this variable as <%NOW%> would be really helpful.
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: Add date formatting to <%TOPICLASTEDITED%>

Unread post by Alexander Halser »

Hi Andie,

This is already supported. Both variables <%NOW%> and <%TOPICLASTEDITED%> can be used with a time/date format string. These two are the only predefined dedicated date/time variables.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Add date formatting to <%TOPICLASTEDITED%>

Unread post by Tim Green »

Hi Andie,

This was actually topic in the Reference section of the help that should have been updated but wasn't. It does actually work for both those full-date-format variables (NOW and TOPICLASTEDITED). Will be fixed in the next edition of the help. :?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply