JavaScript 基础学习(二) instanceof方法: String对象 自动创建字符串对象: 手工创建字符串对象: String属性与方法: 分割字符串 连接字符串 Array对象 Array对象的属性 获取数组元素的个数:length Array对象的方法 连接数组-join方法 进出 ...
分类:
编程语言 时间:
2018-06-09 13:25:38
阅读次数:
205
关于timezone报错: It is not safe to rely on the system's timezone settings 报错:It is not safe to rely on the system's timezone settings [root@localhost loc ...
分类:
Web程序 时间:
2018-06-08 18:05:59
阅读次数:
244
``` #platform=x86, AMD64, or Intel EM64T #version=DEVEL # Install OS instead of upgrade install # Keyboard layouts keyboard 'us' # Root password rootp... ...
分类:
其他好文 时间:
2018-06-05 19:59:37
阅读次数:
214
date_default_timezone_set('PRC'); //默认时区 //当前的时间增加5天 $date1 = "2014-11-11"; echo date('Y-m-d',strtotime("$date1 +5 day")); //输出结果:2014-11-16 //相应地,要增加 ...
分类:
Web程序 时间:
2018-05-30 17:39:27
阅读次数:
1185
anaconda anaconda负责安装系统向导,默认为GUI界面,如果我们使用ks自动应答安装的话建议使用TUI界面来安装 在安装启动界面我们可以按esc键来自己手动指定安装启动选项 anaconda选项: 1)linux askmethod 在稍后的安装中手动选择安装源 本地光盘、硬盘、NFS ...
分类:
其他好文 时间:
2018-05-27 17:15:12
阅读次数:
247
以下博文为参考:https://www.jianshu.com/p/3d88e77c1533 1.cloudera->oozie->配置->高级->oozie-site.xml 的Oozie Server 高级配置代码段(安全阀) 添加 名称:oozie.processing.timezone 值: ...
分类:
其他好文 时间:
2018-05-22 10:49:51
阅读次数:
201
1 //设置中国时区 2 date_default_timezone_set('PRC'); 3 //今天的时间搓 4 $today_start = strtotime(date('Y-m-d',time()).' 0:0:0'); 5 $today_end = strtotime(date('Y-... ...
分类:
Web程序 时间:
2018-05-18 15:42:27
阅读次数:
203
iOS 时间相关类 NSDate - 表示一个绝对的时间点。 NSCalendar - 代表一个特定的日历,例如公历或者希伯来日历。它提供了一系列基于日期的计算,并且可以让你在"NSDate"和"NSDateComponents"对象之间进行转换。 NSDateComponents - 允许你获取一 ...
分类:
移动开发 时间:
2018-05-12 03:17:48
阅读次数:
273
一.查看系统时区timedatectl|grep"Timezone"二.修改时区1.删除文件rm-rf/etc/localtime2.重新链接文件ln-sln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime三.查看结果timedatectl|grep"Timezone"
分类:
其他好文 时间:
2018-05-11 14:30:19
阅读次数:
156
1,date_default_timezone_set('PRC');//获取北京时区 header("Content-Type:text/html;charset=utf-8"); //编码 define("DB_HOST","localhost");//数据库地址,一般为localhost de ...
分类:
数据库 时间:
2018-05-10 21:43:05
阅读次数:
185