Answers for "javascript extract hour from string"

0

javascript extract hour from string

var date = '28/05/2011 12:05';
var hrs = date.split(' ')[1].split(':')[0];
Posted by: Guest on December-23-2020

Code answers related to "javascript extract hour from string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language