Added Date coding.