1

how can I get in my Android App the current date RFC 2616 formatted?

For example: Wed, 05 Apr 2006 21:12:00 GMT

Laire
  • 1,290
  • 6
  • 22
  • 49

1 Answers1

0

Ok I get it with this methode:

    Calendar c = Calendar.getInstance();
    String date = org.apache.http.impl.cookie.DateUtils.formatDate(c.getTime());
Laire
  • 1,290
  • 6
  • 22
  • 49