Add weekday similar function.