JavaScript Date getUTCDay()
The JavaScript date getUTCDay() method is used to get the integer value between 0 and 6 that represents the day of the week based on the universal time. Syntax: dateObj.getUTCDay() Return: An integer value between 0 and 6. Example: <!DOCTYPE html> <html> <body> <script> var a = [100,40,678,435,890]; var greatest = Math.max.apply(null, a); document.writeln(greatest); </script> … Read more