Adjusted for own use, small styling changes. Added single date(time) support.