Thanks Parvesh! I tried this code and it is working on email. But when it moved on the web it shows the current date + 30 days. It should be the same on email and web versions also. Do you have any idea about this, how the date on webmail will be the same as on email? I appreciate your help in advan...