JavaScript Tutorial/Date/getUTCDay
Date.getUTCDay()
The getUTCDay() method returns the day of the week converted to universal time and expressed as an integer from 0 (Sunday) to 6 (Saturday).
The following example uses the getUTCDay() Method to Return the Day of the Week
<source lang="javascript">
<html>
<script language="JavaScript"> </script> </html></source>