A Constructor for date/time formatting