src/umbraco.presentation.xslt.Exslt/ExsltDatesAndTimes.cs
/// <summary>
/// Implements the following function
///   string date:time(string)
/// </summary>
/// <returns>The time part of the specified date or the empty string if the 
/// date is invalid</returns>
Implements the following function
string date:time(string)
Implements the following function string date : time ( string )
public static string time(string d){
			try{
				string[] dateNtime = DateTime.Parse(d).ToString("s").Split(new Char[]{'T'}); 
				return dateNtime[1]; 
			}catch(FormatException){
				return ""; 
			}
		}
public static string time ( string d ) { try { string [ ] dateNtime = DateTime . Parse ( d ) . ToString ( " " ) . Split ( new Char [ ] { ' ' } ) ; return dateNtime [ 1 ] ; } catch ( FormatException ) { return " " ; } }
Implements the following function
string date:time(string)
Implements the following function string date : time ( string )
The time part of the specified date or the empty string if the
date is invalid
The time part of the specified date or the empty string if the date is invalid
d
string