Format DateTime to String
String? format(String format) { if (this == null) { return null; } else { return DateFormat(format).format(this); } }