Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get date using tolocaledatestring

const date=new Date();
const options - {weekday:'long',year:'numeric',month:'long',day:'numeric'};
let today=today.toLocaleDatestring("en-IN",options);
 
PREVIOUS NEXT
Tagged: #date #tolocaledatestring
ADD COMMENT
Topic
Name
4+1 =