Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript date to local timezone

// Get new Date
let date = new Date()

//Convert it to local Time
date.toLocaleTimeString()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #date #local #timezone
ADD COMMENT
Topic
Name
8+1 =