got date input working