/// <summary> /// Convert a DateTime to a formatted string. /// </summary> /// <param name="ts">The timestamp.</param> /// <returns>A string formatted for use with the specified database.</returns> public static string DbTimestamp(DateTime ts) { return(MysqlHelper.DbTimestamp(ts)); }