Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript convert utc to local time

var date = new Date('6/29/2011 4:52:48 PM UTC');
date.toString() // "Wed Jun 29 2011 09:52:48 GMT-0700 (PDT)"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #utc #local #time
ADD COMMENT
Topic
Name
8+3 =