yMd static method

String yMd([
  1. DateTime? datetime
])

Formats a date as y/M/d.

Implementation

static String yMd([DateTime? datetime]) =>
    DateFormat.format(datetime, 'y/M/d');