make current date a directive

the date also updates properly on midnights