继续解决mplayer安装不上的问题: 多次尝试后,把源换回官方然后 update&upgrade后安装 问题解决 时区问题解决: 里面的第五项 Internationalisation Options --> Change Timezone --> Asia --> Chongqing(找了半天没 ...
分类:
其他好文 时间:
2016-09-06 09:02:32
阅读次数:
160
date_default_timezone_set('PRC'); //默认时区 echo "今天:",date("Y-m-d",time()),"<br>"; echo "今天:",date("Y-m-d",strtotime("18 june 2008")),"<br>"; echo "昨天:" ...
分类:
Web程序 时间:
2016-08-26 15:11:57
阅读次数:
165
public static int timestrtosec(String time) { if (Strings.isNullOrEmpty(time)) { return 0; } System.setProperty("user.timezone","GMT +08"); String for ...
分类:
编程语言 时间:
2016-08-24 12:56:01
阅读次数:
170
//通过修改时间戳可以对log和debug信息显示的时间修改servicetimestamps
debugdatetimemseclocaltimeshow-timezoneservicetimestamps
logdatetimemseclocaltimeshow-timezone//选择需要修改哪个服务的时间戳//选择时间的类型是系统启动时间还是实际的时间日期//指定显示的内容..
分类:
系统相关 时间:
2016-08-23 17:09:41
阅读次数:
996
public static System.DateTime ConvertIntDateTime(double d) { System.DateTime time = System.DateTime.MinValue; System.DateTime startTime = TimeZone.Cur ...
分类:
其他好文 时间:
2016-08-17 23:08:46
阅读次数:
1622
在启动参数上加上时区设置-Duser.timezone=GMT+08 java -jar -Duser.timezone=GMT+08 target/micservice_histclientsdataetl-1.0-SNAPSHOT-jar-with-dependencies.jar local ...
分类:
系统相关 时间:
2016-08-17 10:27:12
阅读次数:
673
打印new Date(),Fri Aug 12 13:37:51 CST 2016. 显示Asia/Shanghai的时区,但是date toString 的时区简写却是CST。更坑爹的是,Google CST结果出来是Central Standard Time. 表示North American ...
分类:
数据库 时间:
2016-08-12 14:47:29
阅读次数:
182
系统是centos6.5执行yuminstallphpphp-fpmphp-bcmatchphp-gdphp-mbstringphp-mcryptphp-mysql–yyuminstall-yphp-*yuminstall-ycurlcurl-develnet-snmpnet-snmp-develperl-DBIvim/etc/php.inidate.timezone=Asia/Shanghaipost_max_size=16Mmax_execution_time=300max_input_ti..
分类:
Web程序 时间:
2016-08-11 23:03:05
阅读次数:
161
[root@BJECMNFS01~]#dateMonAug803:30:24EDT2016[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS01~]#TZ=‘Asia/Shanghai‘;exportTZ[root@BJECMNFS01~]#[root@BJECMNFS01~]#[root@BJECMNFS..
分类:
其他好文 时间:
2016-08-08 19:44:17
阅读次数:
175
public static String timeStringData() { final Calendar calendar = Calendar.getInstance(); c.setTimeZone(TimeZone.getTimeZone("GMT+8:00")); String mYea ...
分类:
其他好文 时间:
2016-08-08 19:28:16
阅读次数:
176