Added DateFields proc w accompanying tests.
Merge branch datefields.