date field formatting.