摘要:
SELECT FROM_UNIXTIME(create_time,'%Y年 %c月 %e日 %H:%i:%s') FROM `fanwe_goods`可能会遇到时区不一致的问题。那么就需要自己加上时间差。如下:SELECT name_1,FROM_UNIXTIME(promote_end_time+8*60*60,'%Y年 %c月 %e日 %H:%i:%s') FROM `fanwe_goods`加上:+8*60*60实现截取经验:SELECT id,content,user_name,LEFT( content, 100) as jcontent FROM....想按北京 长沙。那样分组列出 阅读全文
posted @ 2010-12-31 14:27
王滔
阅读(286)
评论(0)
推荐(0)
摘要:
今天在手册上了解到。有个函数可以不限制脚本执行时间.看手册上:set_time_limit(0);The maximum execution time, in seconds. If set to zero, no time limit is imposed. impose 是“推行”的意思 阅读全文
posted @ 2010-12-31 14:25
王滔
阅读(315)
评论(0)
推荐(0)
浙公网安备 33010602011771号