I have a date/time string like 2012-01-13 04:37:20 but I want to convert it to dd-mm-yyyy hh:mm, how can i do this?
2012-01-13 04:37:20
dd-mm-yyyy hh:mm
I am using the followin
The best date-time handling lib in JavaSCript is moment.
moment().format('MMMM Do YYYY, h:mm:ss a');