About TimeZone timeout in Java, timezone timeout
Use the system-config-date tool on Linux to set a TimeZone (the setting result will be recorded in the/etc/sysconfig/clock file ), the time obtained in Java cannot change with the clock at the time of
The consistency of time is critical, and the analysis of logs and the docking of the program are essential!01. Tzselect Modify Time zoneYou can use the command Tzselect to modify the time zone. Examples of operations:
$ tzselect
Please
1. Adjust database server timeBecause the app shook a shake activity found out of date 15 minutes, but also can continue to shake, the problem is that the database server time than the application server time is quite 18 minutes, and the app is the
What is internationalization?
Internationalization (the acronym for internationalization is i18n--i, 18 characters in the middle, N) is a process that processes software that makes it easier for users to use various languages from various places.
1. Use Tzselect to adjust[[Email protected]]# tzselectPlease identify a TimeZone rules can be set correctly. pleaseSelecta continent or ocean.1) Africa2) Americas3) Antarctica4) Arctic Ocean5) Asia6) Atlantic Ocean7) Australia8) Europe9) Indian
1. Check the system time zone:Method 1:[Email protected] ~]# date-rSun, Sep 2014 23:10:23-0400Method 2:[Email protected] ~]# Cat/etc/sysconfig/clock# The ZONE parameter is only evaluated by System-config-date.# The timezone of the system is defined
1, command line runsudo tzselect2. Select the Continent (Asian Asia region)[Email protected]:~$sudoTzselect[sudo] Password forWaichung:please Identify a location TimeZone rules can be set correctly. pleaseSelecta continent or ocean.1) Africa2)
[email protected] ~]# date-r //view time zoneMon, May 2014 10:18:46 +0000[[email protected] ~]# tzselect//Set Change time zonePlease identify a, so, time zone rules can be set correctly.Please select a continent or ocean.1) Africa2) Americas3)
If your Linux system time zone is not configured correctly, you will need to manually adjust to the correct local time zone. NTP's synchronous processing of time only calculates the local time offset from UTC time, so configuring an NTP to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.