Hi all, please help me to calculate Date as follow:
d = new Date();
1. Calculate the yesterday date of d.
2. Calculate the last month of d
3. Cal the week of the year of d
4. Cal the quater of the year ( 3 month is a quater: 1,2,3==> quater1; 4,5,6 ==> Quater 2 etc)
Thanks a lot.