Created toDate() and fromDate() to convert unsigned shorts to strings and vice versa.