Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

HH:mm with am pm jquery

function CurrentTime() 
{
  const time = new Date();
  return time.toLocaleString('en-US', {  
    timeZone: 'America/New_York',
    hour: 'numeric', 
    minute: 'numeric', 
    hour12: true
  })
}
 
PREVIOUS NEXT
Tagged: #pm #jquery
ADD COMMENT
Topic
Name
3+3 =