Forum : to create a redirection script based on day of the week
Brief description  about Online courses   join in Online courses
View vinaykumar B patil 's Profile

to create a redirection script based on day of the week

please give me idea to write this script???
Asked by vinaykumar B patil | Dec 10, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi vinay,

Create one date object, use date object to get day information(getDay() - value ll be in range 0-6, i.e. sunday-saturday), and according to day, navigate or redirect to some other page, like for monday redirect to siliconindia site.
Dec 13, 2010