Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js tolocalestring with hours

var dateWithouthSecond = new Date();
dateWithouthSecond.toLocaleTimeString('pt-BR', {hour: '2-digit', minute:'2-digit'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #tolocalestring #hours
ADD COMMENT
Topic
Name
6+3 =