Miscellaneous date parsing and formatting
