This is a subclass of the datetime module but adding nanosecond resolution