摘要: 1.DateTime 转为Unix的long的时间戳 long orderTime = order.AddTime.ToUnixTimeStamp("Milliseconds"); long payTime = order.StartTime.Value.ToUnixTimeStamp("Milli 阅读全文
posted @ 2016-05-26 16:49 好学Ace 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 一、sql server日期时间函数 Sql Server中的日期与时间函数 1. 当前系统日期、时间 select getdate() 2. dateadd 在向指定日期加上一段时间的基础上,返回新的 datetime 值 例如:向日期加上2天 select dateadd(day,2,'2004 阅读全文
posted @ 2016-05-26 16:38 好学Ace 阅读(722) 评论(0) 推荐(0) 编辑
摘要: /// /// 申请提现 /// /// 用户id /// 提现金额 /// public int ApplyTakeCash(int userId, decimal amount) { if(IsExistUser(userId)) r... 阅读全文
posted @ 2016-05-26 14:53 好学Ace 阅读(393) 评论(0) 推荐(0) 编辑