Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[recommenders-dev] DateFormat

Hello,

I want convert the date format; I have a CompletionEvent with sessionEnded (long) and want convert this into mins, hours, days etc.

Similar like the git history view --> column: commited date.
What I have to do for this conversion?

At the moment I convert only to the default date format (e.g. 2013-05-15): 
format("%tF", new Date(completionEvent.sessionEnded))

Regards,
Timur

Back to the top