话说有一文章表article,存储文章的添加文章的时间是add_time字段,该字段为int(5)类型的,现需要查询今天添加的文章总数并且按照时间从大到小排序,则查询语句如下:1 select * from `article` where date_format(from_UNIXTIME(`add...
分类:
数据库 时间:
2014-07-23 15:48:49
阅读次数:
286
+(NSString *)getWeekday{NSDate *date = [NSDate date];NSDateComponents *componets = [[NSCalendar autoupdatingCurrentCalendar] components:NSWeekdayCalen...
分类:
其他好文 时间:
2014-07-23 15:48:19
阅读次数:
174
近日有个项目需要显示周几,一开始是这样写的//日期var dateObj = new Date().find('.sign_date').html((dateObj.getMonth() + 1) + '/' + dateObj.getDate()).end().find('.sign_week')...
分类:
其他好文 时间:
2014-07-23 15:22:46
阅读次数:
185
调用CachedRowSetImpl类时,出现以下错误:Access restriction: The type CachedRowSetImpl is not accessible due to restriction on required library C:\glassfish3\jdk7\...
分类:
其他好文 时间:
2014-07-23 15:11:26
阅读次数:
174
1.
启动开启
[tt@host2 info]$ ttDaemonAdmin -start -force
/home/tt/TimesTen/tt1122/info/timestend.pid file exists, attempt start due to -force option.
TimesTen Daemon startup OK.
2.
添加测...
分类:
其他好文 时间:
2014-07-23 13:06:36
阅读次数:
244
function addCookie(objName, objValue, objHours) { var str = objName + "=" + EncodeURI(objValue); if (objHours > 0) { var date = new Date(...
分类:
Web程序 时间:
2014-07-23 12:56:36
阅读次数:
233
USE [master]GO/****** Object: LinkedServer [MobileMDMlinkServer ] Script Date: 2014/7/23 11:10:16 ******/EXEC master.dbo.sp_addlinkedserver @serve...
分类:
其他好文 时间:
2014-07-23 12:56:06
阅读次数:
236
第一:是把生成的Json格式的时间转换,注意要看清楚时间的格式 function (cellval) { var date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/"...
分类:
Web程序 时间:
2014-07-23 12:04:26
阅读次数:
196
1.日期作为变量当做文件名的一部分. C:\Documents and Settings\Simon>echo %date%2008-09-09 星期二 C:\Documents and Settings\Simon>echo %date:~5,5%09-09 如果我们需要加入自订的分隔符,比如想要...
时区问题很麻烦~0、查看时间命令#date 查看系统时间#date -s 修改时间,看下面的例子#date -s 07/16/2014 (将系统日期设定为2014年07月16日)#date -s 11:11:22 (将系统时间设定为下午11:11:22)#hwclock -w...
分类:
系统相关 时间:
2014-07-23 11:43:36
阅读次数:
225