In reply to Bijay Adhikari.

You can ask SAS programming questions on the SAS Support Communities. The experts might suggest that you look at the WEEK function.