how can i extract time from datetime format.
my datetime format is given below.
var datetime =2000-01-01 01:00:00 UTC;
I only want
with the moment.js library it works in this way:
var result = moment().format('hh'); alert(result);