Menu
Hi All,
I want to display the what month it is, this is not so difficult.
<script languae=”Javascript”>
Now = new Date();
document.write(Now.getMonth());
</script>
BUT, now I want to display the month of 2 months ago.
So now it’s january it should display november.
And to make it even more difficult, after the 15th it should show
1 month back instead of 2 month.
So if the date is january 14th it should display : november
If the date is january 15th is should display : december.
How would I do this??
Thanks for any help!