added date picker class and function - prints to label