예제 #1
0
 /// <summary>
 /// Returns a date formatted according to RSS rules
 /// </summary>
 /// <param name="date">The date.</param>
 /// <returns>RSS formatted date</returns>
 /// <example>
 /// using EPS.Utilities;
 ///
 /// // ... more code
 ///
 /// string rssDate = DateTime.Now.ToRssDate();
 /// </example>
 public static string ToRssData(this DateTime date)
 {
     return(MarkupHelper.ToRssData(date));
 }