コード例 #1
0
 /// <summary>
 /// Creates a time string formatted for RSS feeds
 /// </summary>
 /// <param name="date">Date to convert</param>
 /// <returns>Converted date</returns>
 /// <example>
 /// string rssDate = MarkupHelper.GetRssFormattedDateTime(DateTime.Now);
 /// </example>
 public static string GetRssFormattedDateTime(this DateTime date)
 {
     return(MarkupHelper.GetRssFormattedDateTime(date));
 }