CMB-80: added the function to retrive weekDay