Tag Info

Hot answers tagged

51

You can actually accomplish this using the system clock. Click on the tray clock At the bottom, click Change date and time settings Click the Additional Clocks from the top menu bar Tick Show this clock and modify the time zone to suite your needs. Hit Apply Example:


27

"Knowing the current minute" requires having an accurate clock. "Knowing the current hour" requires having an accurate clock and knowledge of which time zone currently contains the device. So, getting the minute right is easier than getting the minute and the hour. Set the time zone to where you're currently located. The device doesn't contain a GPS, so ...


16

A tool I found to be easier to use is dpkg-reconfigure. Use: dpkg-reconfigure tzdata You will be given a multitude of choices, including some that are not included in tzselect.


16

Edit: After a few days of using the method I originally posted, I discovered that the RealTimeIsUniversal flag, as an unmaintained leftover from Windows NT, is actually pretty flaky and impractical in general. Every so often, at seemingly random intervals, the Windows clock would revert from UTC to local time, which was extremely annoying (and resulted in a ...


14

Since your using Windows 7 the clock desktop gadget is one option. You can have multiple, name them and make them always on top. There are alternative versions that are more compact with similar settings.


10

Simplest way that I know of is: echo "Europe/Zurich" > /etc/timezone dpkg-reconfigure -f noninteractive tzdata


10

The time zone is an artefact of conversion from "instants" to a human-readable date-and-time in some calendar. Computers do not like human-readable formats (not as much as humans, at least), so they usually store instants in a zone-neutral format. For instance, in the NTFS file system, time stamps are stored in UTC. Hence, the file time modification is ...


6

Click on the clock and choose "Change date and time settings..." Click the "Internet Time" tab. Is it set up to synchronize the time with time.windows.com? If it is, try unchecking that box, saving the settings, and rebooting to see if that fixes your problem. If it isn't checked already, try checking it and making sure it is set to time.windows.com. Here ...


6

Not all versions of cron support running jobs using a time zone other than the system's. If yours does, it's likely that the specification should be TZ=GMT or TZ=UTC (without the angle brackets). In some cases, the variable would be CRON_TZ. The best thing to do is check the documentation specific to the particular system. See man 5 crontab.


6

One third party app that will allow you to do have both times always shown in the tray is StoicJoker's T-Clock2010: http://www.stoicjoker.com/tclock/


5

(Copying my comment as an answer, since it turned out to be the solution; I guessed right.) So cron jobs are being scheduled in UTC (Europe/Paris is at a one hour offset from UTC). The Vixie cron man page says: The daemon will use, if present, the definition from /etc/timezone for the timezone. What's in /etc/timezone? Have you modified ...


5

You can see some hints in the Microsoft documentation for FILETIME. There is no provision for a time zone in the structure, but the text states that NTFS stores all file times in UTC.


5

I decided to continue wasting time on troubleshooting problems in tools that are supposed to save me time... and I rebooted the system several times in order to have a more controlled observation of what's going on: It turns out that mere booting to Ubuntu changes the BIOS time! Apparently, Ubuntu uses UTC time, while Windows 7 uses local time (as has been ...


4

Timezone is a part of the "systeminfo" command output.


4

If you have Vista (or Windows 7), the built-in clock widget allows you to set a different time zone per instance, and give it a name. So, for example, you could set an instance to Sydney time, and name it "Sydney", and it will show the name on the clock itself.


4

Windows timestamps are time zone aware. However, your mechanism for file transfer may not be.


4

Ilius, I think I've come across this problem before. First try to set the system time correctly. (ntp/whatever) Then, run hwclock --systohc This should reset your hwclock to the system time, and should be persistent across reboot. would you let us know if it works out?


4

I doubt that very much(that they do it by windows). Maybe they know the timezone at the location of your IP. Or some forums ask you for your timezone and you are telling them. Try changing the time in windows and see if they pick it up - they won't. And if you had multiple computers set to different time zones they won't know. You could hide your IP(so ...


4

Zones like Etc/GMT+6 are intentionally reversed for backwards compatibility with POSIX standards. See the comments on Wikipedia, and in this file from the tzdb. You should almost never need to use these zones. Instead you should be using a fully named time zone like America/New_York or Europe/London or whatever is appropriate for your location. Refer to ...


3

The file modified date is stored in an absolute way so that it will show the correct time no matter the time zone. So when you change your time zone, it changes the displayed modified date on the file to be correct. Notepad++ looks for a change in the displayed modified date, and when it sees one it displays this message.


3

Update: The canonical answer (for which Ynhockey deserves credit) appears to be: dpkg-reconfigure tzdata My original answer is below. I would simply have deleted this answer entirely but superuser.com doesn't allow accepted answers to be deleted. http://www.debian-administration.org/articles/213 says the simple way to edit your timezone is to ...


3

It is quite easy to get your system's timezone, as set in the OS, through JavaScript on the browser. Type these in the location/url: javascript:alert(new Date()) javascript:alert(new Date().getTimezoneOffset()) The first shows the current time in your timezone, usually with a timezone offset and name, like "GMT-400 (EDT)". If that's too much parsing ...


3

Check your clock sync settings in Windows. It may be adjusting the clock with an internet source and changing the clock.


3

Linux usually uses a tool called hwclock to interface with the hardware clock. Depending on your distribution, you should be able to modify the system startup scripts to make hwclock reread and store the time using current system timezone. In Ubuntu, you can enable local time mode by editing /etc/default/rcS to: UTC=no I know, not exactly what you asked ...


3

Check out GeoSense for Windows which claims to be able to provide a semi-accurate geo-location device for your computer. This will require some kind of internet connection (WiFi preferred) to be able to get your location. I would hope that once Windows 7 has a vague idea of where you are, by using this service, then it will update your timezone ...


3

The following tests whether the local timezone has changed since yesterday: [ "$(date -d "yesterday" '+%z')" = "$(date '+%z')" ] The %z format asks date to return the timezone. The above compares the result for today versus the result for yesterday. How to use it The test command can be used to control statement execution: $ [ "$(date -d "yesterday" ...


2

At the command line, you could use: watch "echo "Local Time: ";date;echo "";echo "GMT: ";date --utc" Edit: Here's an example taken from Wikipedia, showing how to use various Timezones: OLDTZ=$TZ export TZ=GMT; echo "GMT: `date +\"%F %R (%Z)\"`" GMT: 2008-10-31 12:30 (GMT) export TZ=Europe/Stockholm; echo "Stockholm: `date ...


2

use world time clock from www.worldtime-clock.com it shows as many time zones ontop of all the application you are running. So it is always visible on the top.


2

Another process is interfering with your timezone settings. There's a pretty concise answer to this at "what could cause Apache's time/timezone to change intermittently?". This can be particularly painful with Django -- as it doesn't handle juggling timezones very well -- and as such there are some good explanations in some Django-specific questions: Django ...


2

As an addendum, note that while file modification dates from NTFS or other filesystems may be timezone aware, EXIF data (eg date/time a picture was taken with your camera) may very well not be, and may not be stored as UTC either so can prove tricky to convert. Just a thought, in case the file create / modify / EXIF date/time don't seem to agree. I seem to ...



Only top voted, non community-wiki answers of a minimum length are eligible