class added for datetime widget