I've been using $action.dateFormatter.calendar.timeInMillis for a while now to create a random ID for some JS functions I call in my user macro but this doesn't seem to work anymore.
I use the same macro serval times in a page therefor I have to be able to distinguish between them. The macro generates an form and an email depending on what is selected in the editor (Installation request or Problem report).
Is there an other way to generate a random ID?