part of pin;

class PinTime {

  static int getTime() {
    return (new DateTime.now()).millisecondsSinceEpoch;
  }

}
part of pin;

class PinTime {

  static int getTime() {
    return (new DateTime.now()).millisecondsSinceEpoch;
  }

  static String formatRFC2616(DateTime date) {
    return HttpDate.format(date);
  }

}
Add RFC2616 date formatting function.
Add RFC2616 date formatting function.
