date attribute & widget