convert 12 hour to 24 hour moment js code example Example: convert 24 hour to 12 hour moment js moment("15", "hh").format('LT')