datetime and styling stuff