Getting a date picker working