Parses the string into a DateTime object, returning null if the format is invalid.
DateTime? get toDateTime => DateTime.tryParse(this);