How can I stringed timestamp to javascript Unix time?

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

How can I stringed timestamp to javascript Unix time?

영리치 0 826 2023.02.08 17:48

How can I stringed timestamp to javascript Unix time? The stringed timestamp is looks like below. "2022-10-20T02:23:13.150Z"


You can convert the stringed timestamp to Unix time using the JavaScript Date object and the getTime() method. Here is an example:


const timestamp = "2022-10-20T02:23:13.150Z"; const date = new Date(timestamp); const unixTime = date.getTime(); console.log(unixTime); // 1624054193150 (in milliseconds)






Comments

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

Category
실시간 인기글
난 아버지처럼 되지 않을래요
영리치
등록된 글이 없습니다.
Magazine
훈남/훈녀
 
 
 
상점
Facebook Twitter GooglePlus KakaoStory NaverBand