_小凯

2016年7月11日

JS日期类型处理

摘要: Date 操作日期和时间的对象 Date.getDate( ) 返回一个月中的某一天 Date.getDay( ) 返回一周中的某一天 Date.getFullYear( ) 返回Date对象的年份字段 Date.getHours( ) 返回Date对象的小时字段 Date.getMilliseco 阅读全文

posted @ 2016-07-11 17:53 _小凯 阅读(334) 评论(0) 推荐(0) 编辑

java mysql 日期类型

摘要: mysql(版本:5.1.50)的时间日期类型如下: datetime 8bytes xxxx-xx-xx xx:xx:xx 1000-01-01 00:00:00到9999-12-31 23:59:59 timestamp 4bytes xxxx-xx-xx xx:xx:xx 1970-01-01 阅读全文

posted @ 2016-07-11 16:01 _小凯 阅读(1241) 评论(0) 推荐(0) 编辑

导航