public static String getRFC2616Date(Date date) {SimpleDateFormat df = new SimpleDateFormat(FORMAT_RFC2616, Locale.ENGLISH);df.setTimeZone(new SimpleTimeZone(0, TIME_ZONE));return df.format(date);}

public static String getRFC2616Date ( Date date ) { SimpleDateFormat df = new SimpleDateFormat ( FORMAT_RFC2616 , Locale . ENGLISH ) ; df . setTimeZone ( new SimpleTimeZone ( 0 , TIME_ZONE ) ) ; return df . format ( date ) ; }
public static string GetRFC2616Date(DateTime datetime){if (null == datetime){datetime = DateTime.UtcNow;}return datetime.ToUniversalTime().GetDateTimeFormats('r') [0];}
