Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get weekday name

var dateObj = new Date()
var weekday = dateObj.toLocaleString("default", { weekday: "long" })
console.log(weekday)
Source by coderrocketfuel.com #
 
PREVIOUS NEXT
Tagged: #javascript #weekday
ADD COMMENT
Topic
Name
1+2 =