Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

date without seconds react

var dateWithouthSecond = new Date();
dateWithouthSecond.toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #date #seconds #react
ADD COMMENT
Topic
Name
2+9 =