Hi,\rIs there an easiest/more efficent way to display the day of the week onscreen then this? Thank you very much.\r\rmytime = new Date();\rday = (mytime.getDay())\r\rif (day ==0) {\rday = “SUN”\r}else{\r\rif (day ==1) {\rday = “MON”\r}else{\r\rif (day ==2) {\rday = “TUE”\r}else{\r\rif (day ==3) {\rday = “WED”\r}else{\r\rif (day ==4) {\rday = “THU”\r}else{\r\r\rif (day ==5) {\rday = “FRI”\r}else{\r\rif (day ==6) {\rday = “SAT”\r\r\r}}}}}}}
Use an array, its explained in my tutorial…did you ever check that out?