How to get the current month name in specific country language with JavaScript

1 Answer

0 votes
const dt = new Date();

const monthName = dt.toLocaleString("ko-KR", {month: "long"});

console.log(monthName); 

   
    
    
     
/*
run:
     
"6월"
     
*/

 



answered Jun 26, 2021 by avibootz

Related questions

...