added day-of-week function
8 files changed