Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript date to utc format

new Date().toISOString()
> '2012-11-04T14:51:06.157Z'
Comment

convert js date to utc

var UTCdate = new Date('4/29/2021 3:22:46 PM UTC');
console.log(UTCdate)
 // console.log(new Date('2020-1-1'+'UTC'));
// output 
// Thu Apr 29 2021 21:07:46 GMT+0545 (Nepal Time)
Comment

PREVIOUS NEXT
Code Example
Javascript :: js alert yes no 
Javascript :: javascript split numbers into array 
Javascript :: javascript how to get every element after the 1st in an array 
Javascript :: jquery on change function not working 
Javascript :: detect chrome version javascript 
Javascript :: datatable row color 
Javascript :: how to make a kill command discord.js 
Javascript :: loop through each class jq 
Javascript :: get previous url javascript 
Javascript :: webpack-bundle-analyzer no stats.json file 
Javascript :: how to send an embed message discord.js 
Javascript :: how to execute javascript cde on window rotate 
Javascript :: Send Data Using Fetch With Then Syntax 
Javascript :: remove duplicates from array js lodash 
Javascript :: javascript check if string ends with 
Javascript :: gms2 object functions 
Javascript :: javascript play sound on click 
Javascript :: js copy a div 
Javascript :: create react app with tailwind 
Javascript :: stopped typing jquery 
Javascript :: Show one popover and hide other popovers 
Javascript :: jquery right click 
Javascript :: downgrade react version to 17 
Javascript :: argument vs parameter javascript 
Javascript :: delete package-lock.json command 
Javascript :: js arrotondare numeri 
Javascript :: how to capitalize string in javascript 
Javascript :: javascript loop through object array 
Javascript :: find quotient in javascript 
Javascript :: es6 get value by key 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =