Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

insert current time macro

Uththira pandi July 20, 2014

how to insert current time macro?

2 answers

0 votes
David at David Simpson Apps
Atlassian Partner
July 21, 2014

Try creating a user macro called current-time like so:

## @noparams
<span class="current-time">$action.dateFormatter.formatGivenString("dd-MMM-yyyy hh:mm:ss", $content.currentDate)</span>

More details here:

0 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2014

What is the use case for this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events