Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove seconds from time

new Date().toLocaleTimeString(navigator.language, {hour: '2-digit', minute:'2-digit'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #remove #seconds #time
ADD COMMENT
Topic
Name
4+5 =