sqlFormatDate static method

String sqlFormatDate(
  1. DateTime date
)

Implementation

static String sqlFormatDate(DateTime date) => DateFormat("yyyy-MM-dd HH:mm:ss").format(date);