摘要:
最近在使用quartz,在mysql中其数据库表中的时间都是使用bigint类型存储的,要想使其查询结果显示为yyyy-mm-dd hh:MM:ss的格式需要使用from_unixtime()函数,bigint类型不是时间戳类型,所以要除以1000转换为时间戳类型。select from_unixtime(start_time/1000) from qrtz_triggers 阅读全文
posted @ 2014-03-12 08:14
yshy
阅读(3932)
评论(0)
推荐(0)

浙公网安备 33010602011771号