/// <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> public string time(string d) { try { TimeTZ t = new TimeTZ(d); return t.ToString(); } catch (FormatException) { return ""; } }
/// <summary> /// Implements the following function /// string date:time() /// </summary> /// <returns>The current time</returns> public string time() { TimeTZ t = new TimeTZ(); return t.ToString(); }