摘要: 给定两个日期间隔`A`和`B`,组件`.start`和`.end`和约束`.start = B.start AND A.start =与>和 B.StartDate && A.StartDate < B.EndDate) { //range is conflict } ``` 引用:https:// 阅读全文
posted @ 2023-08-22 18:01 nil 阅读(287) 评论(0) 推荐(1) 编辑
摘要: 树莓派操作系统为 ```bash xxx@raspberrypi: $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION=" 阅读全文
posted @ 2023-08-03 10:04 nil 阅读(193) 评论(2) 推荐(0) 编辑
摘要: 使用https转发phpmyadmin请求之后,登录界面显示 There is mismatch between HTTPS indicated on the server and client. This can lead to non working phpMyAdmin or a securi 阅读全文
posted @ 2023-07-07 22:46 nil 阅读(27) 评论(0) 推荐(0) 编辑
摘要: SQL Server的Convert函数没有想要的格式类型,需要自定义显示格式。 CAST and CONVERT (Transact-SQL) These functions convert an expression of one data type to another. https://le 阅读全文
posted @ 2023-03-09 17:23 nil 阅读(121) 评论(0) 推荐(0) 编辑
摘要: var strSql = string.Format(@"select * from <tablename>;"); DataTable dt = ExecuteDataTable(strSql); JArray result = Newtonsoft.Json.Linq.JArray.FromOb 阅读全文
posted @ 2023-02-17 17:56 nil 阅读(73) 评论(0) 推荐(0) 编辑
摘要: IVR Studio 直接访问数据库的操作是通过Java操作的,或者是JDBC直接写sql,但是对于我这个.net不太友好,好在Http是和后端语言无关的。 Voicent的api太不清晰了,各种摸索终于实现了,备忘之。 准备 WebApi,这里创建的是 .net framework 4.8 的 W 阅读全文
posted @ 2022-09-30 16:25 nil 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Console.WriteLine(TimeZoneInfo.ConvertTimeToUtc(DateTime.Now).ToString("yyyy-MM-ddTHH:mm:ss.fffZ")); 输出 2022-09-28T08:17:12.455Z 附录:https://learn.micr 阅读全文
posted @ 2022-09-28 16:20 nil 阅读(145) 评论(0) 推荐(0) 编辑
摘要: public static DateTime GmtToPacific(DateTime dateTime) { return TimeZoneInfo.ConvertTimeFromUtc(dateTime, TimeZoneInfo.FindSystemTimeZoneById("Pacific 阅读全文
posted @ 2022-09-16 16:09 nil 阅读(15) 评论(0) 推荐(0) 编辑
摘要: FFmpeg 合并多个音频文件 阅读全文
posted @ 2021-11-27 13:24 nil 阅读(1267) 评论(2) 推荐(0) 编辑
摘要: 需求:参数,一个日期字符串,不带时区的那种,一个TimeZoneID。将其转换为UTC时间。 //可以获取所有的TimeZoneID IList<TimeZoneInfo> lst = TimeZoneInfo.GetSystemTimeZones(); //当日期格式为 2021-05-31T09 阅读全文
posted @ 2021-05-14 21:42 nil 阅读(1567) 评论(0) 推荐(0) 编辑