getTimeInMillis static method

String getTimeInMillis(
  1. LogsConfig config
)

Implementation

static String getTimeInMillis(LogsConfig config) {
  final now = DateTime.now();
  var fiftyDaysFromNow = now.add(Duration(days: -1));
  return DateFormat(config.timestampFormat.toString())
      .format(fiftyDaysFromNow);
}