src/umbraco.presentation.xslt.Exslt/ExsltDatesAndTimes.cs
/// <summary>
/// Implements the following function
///   string date:day-abbreviation(string)
/// </summary>
/// <returns>The abbreviated name of the day of the specified date or the empty string if the 
/// date is invalid</returns>
Implements the following function
string date:day-abbreviation(string)
Implements the following function string date : day - abbreviation ( string )
public static string dayabbreviation(string d){
			try{
				DateTime date = DateTime.Parse(d); 
				return date.DayOfWeek.ToString().Substring(0,3);
			}catch(FormatException){
				return ""; 
			}
		}
public static string dayabbreviation ( string d ) { try { DateTime date = DateTime . Parse ( d ) ; return date . DayOfWeek . ToString ( ) . Substring ( 0 , 3 ) ; } catch ( FormatException ) { return " " ; } }
Implements the following function
string date:day-abbreviation(string)
Implements the following function string date : day - abbreviation ( string )
The abbreviated name of the day of the specified date or the empty string if the
date is invalid
The abbreviated name of the day of the specified date or the empty string if the date is invalid
d
string