First attempt at setting date control value

Null referenece exception on trying to use a value pattern.