当前位置:首页 > 2020年8月30日

tshocktC#

CCSSRW5年前 (2020-08-30)2686
延时:System.Threading.Thread.Sleep(s);当前时间DateTime.Now;UTC时间DateTime.UtcNow;增加时间DateTime.UtcNow.AddHours(int 小时)带T的日期格式DateTime.Now.ToString("...

tshock数据库

CCSSRW5年前 (2020-08-30)2565
数据库操作:①判断数据库类型string query; if ((int)DbExt.GetSqlType(TShock.DB) == 1) {//sqlit} else {//mysql} TShock.DB.Query(query);②读取SQL...