getDate function

String getDate()

Implementation

String getDate() {
  var now = DateTime.now();
  var format = DateFormat('yyyy-MM-dd');
  return format.format(now);
}