CMB-84: added the function to retrive weekDay