strtolower($str ) strtoupper($str ) 大小写转换 strtotime('2018-1-1 0:0') 字符串转时间戳 date('Y-m-d H:i:s',time()) 格式化时间戳 ...
分类:
Web程序 时间:
2018-05-09 19:30:12
阅读次数:
156
时间转字符串 时间转时间戳 时间戳转时间 时间戳转字符串 字符串转时间 字符串转时间戳 附表 图片来之网络,%S、%I不可用。 ...
分类:
数据库 时间:
2018-04-12 13:42:38
阅读次数:
238
1、获取当前时间戳 2、格式化当前时间 3、时间戳转时间 4、字符串转时间 5、%b表示英文缩写月份 6、英文对应月份字典 ...
分类:
编程语言 时间:
2017-11-09 14:55:04
阅读次数:
354
平时比较常用的时间、字符串、时间戳之间的互相转换,虽然常用但是几乎每次使用时候都喜欢去搜索一下用法;本文将作为一个笔记,整理一下三者之间的 转换(即:date转字符串、date转时间戳、字符串转date、字符串转时间戳、时间戳转date,时间戳转字符串)用法,方便日后查看; 涉及的函数 date_f ...
分类:
数据库 时间:
2017-10-16 15:02:11
阅读次数:
214
1、当前时间换时间戳 2、当前时间换日期字符串 3、日期字符串转时间戳 4、时间戳转日期字符串 ...
分类:
其他好文 时间:
2017-09-24 20:20:35
阅读次数:
132
时间转字符串 字符串转时间 数据库 查 当前时间 (select current_date) 数据库 查 时间段 ...
分类:
数据库 时间:
2017-09-22 18:57:57
阅读次数:
138
常用时间函数 table完整版本: {year=2005, month=11, day=6, hour=22,min=18,sec=30,isdst=false} 分别是:年 月 日 小时 分钟 秒 是否夏令时 字符串转时间值 输出结果: 201602021454371200 思路: 字符串转换成t ...
分类:
其他好文 时间:
2017-09-01 19:36:41
阅读次数:
183
在开发中经常会用到时间格式化,有时候在网上搜索一大堆但不是自己想要的,自己总结一下,写一个时间格式化工具方便以后直接使用,欢迎大家来吐槽…… 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 ...
分类:
Web程序 时间:
2017-02-08 20:17:06
阅读次数:
359
平时比较常用的时间、字符串、时间戳之间的互相转换,虽然常用但是几乎每次使用时候都喜欢去搜索一下用法;本文将作为一个笔记,整理一下三者之间的 转换(即:date转字符串、date转时间戳、字符串转date、字符串转时间戳、时间戳转date,时间戳转字符串)用法,方便日后查看; 涉及的函数 date_f ...
分类:
数据库 时间:
2016-06-05 16:51:10
阅读次数:
436
工作中编写过的一条语句select * from Bt_Holiday where to_char(Setting_DATE,'YYYY')=Substr('2015-03-00',1,4) AND to_char(Setting_DATE,'MM')=Substr('2015-03-...
分类:
数据库 时间:
2015-08-17 21:31:05
阅读次数:
392