I have a website that needs to have 2 javascript codes to automatically change the name of the month.
Javascript 1 Details:
The website says: If you Register By May 15th, 2008
I need the month part (May) to change every month to that months name automatically. So when June 1st comes, it should say: If you Register By June 15th.
Javascript 2 Details:
In that same website I need another javascript code to change the month name. Here is what it says: The course will begin on June 1. So this code would need to change the month ahead to the next month.
Here is the whole sentence:
We are offering a great deal if you register by May 15th. The course will begin on June 1st.
so next month when June 1st arrives, the code should automatically change it to read:
We are offering a great deal if you register by June 15th. The course will begin on July 1st.