Thai
Posts: 0
Joined: Fri Nov 22, 2013 3:09 pm

Parsing the _createdAt to output the hhmmss?

How who would I Parse the _createdAt to out the hhmmss?

Input is 2013-11-14 23:41:27.030 but I would like the output to be

23:41:27

Not sure how to do this, please help.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Parsing the _createdAt to output the hhmmss?

You can use basic JavaScript to parse the date or use a library such a Moment.js: http://momentjs.com/

Return to “Issues”