Format DateTime to Unix timestamp
String? toTimestamp() { if (this == null) return null; return this!.millisecondsSinceEpoch.toString(); }