Hot answers tagged

150

Take the CMOS battery out for a few seconds. That's the little watch-type battery on the motherboard. (While the machine is unplugged) And / or use the CMOS jumper on the motherboard, and drain the CMOS that way. Your manual will tell you how. Normally you move the jumper, turn on for a few seconds, and then move the jumper back. That will reset the time ...


80

If you want to execute ntpdate with the ntp daemon already up and running, use the following command: # ntpdate -u pool.ntp.org and it will use a different port.


55

NTP servers rely on highly accurate clocks for precision timekeeping. A common time source for central NTP servers is atomic clocks, or GPS receivers (remember that GPS satellites have atomic clocks onboard). These clocks are defined as accurate since they provide a highly exact time reference. There's nothing magical about GPS or atomic clocks that make ...


49

Like any complicated thing, you can describe the way a CPU operates at various levels. At the most fundamental level, a CPU is driven by an accurate clock. The frequency of the clock can change; think Intel’s SpeedStep. But at all times the CPU is absolutely 100% locked to the clock signal. CPU instructions operate at a much higher level. A single ...


46

You can also use quser to see the login time.


38

It's in use because the ntp service is probably running. You did not mention which Linux you are using so this assumes you have service installed (that you are running a System V system): $ sudo ntpdate pool.ntp.org 31 Aug 19:05:55 ntpdate[8911]: the NTP socket is in use, exiting $ sudo service ntp stop [ ok ] Stopping NTP server: ntpd. $ sudo ntpdate pool....


37

The system time is not based on the CPU but rather another chip on the motherboard, so overclocking the CPU will not alter the "speed" of the system time.


29

Rather than preventing it reading the BIOS time, the easiest option would be to set a BIOS password and not disclose it to anyone who might make any changes. While there are ways around that, my guess would be that your average family member isn't going to know how to do that.


29

Are CPU clock ticks strictly periodic in nature? Of course not. Even the very, very best clocks aren't strictly periodic. The laws of thermodynamics say otherwise: Zeroth law: There's a nasty little game the universe plays on you. First law: You can't win. Second law: But you just might break even, on a very cold day. Third law: It never gets that cold. ...


27

Check the beep codes carefully. Here are the common Dell codes If the diagnostic is installed you should also be able to run the diagnostic. Press F12 when you see the Dell splash screen. Beep Codes Possible Causes 1 - 2 No video card detected 1 - 2 - 2 - 3 BIOS ROM checksum error 1 - 3 - 1 - 1 DRAM refresh error 1 - 3 - 1 - 3 8742 ...


26

Use the following command in a Command Prompt: net user [username] It will be next to Last Logon. EDIT If your screen becomes locked and you use the method above it will display the last time the screen was unlocked. You will have to use this command below to get the initial login time: quser


22

Around 2000, when clockspeeds of CPUs started to get into the range where mobile phones also operated, it became common to add a variation to the actual clock speed. The reason is simple: If the CPU clock is exactly 900 Mhz, all the electronic interference is generated at that frequency. Vary the clock frequency a bit between 895 and 905 Mhz, and the ...


22

Digital logic designer here. The actual time taken for a logic network to change in response to an input signal is the propagation delay. Think of the system as: registers A,B,C... ---> logic cloud ---> registers A',B',C' The "launch clock" is the clock edge at which time the first set of registers change. The "capture clock" is the next clock edge ...


20

Most operating systems have the basic rules to calculate this (e.g. first weekend after a specific date), so they can adjust on their own, without requiring a connection to any time server. This can however screw up the system's clock in case there are changes of the official rules (e.g. the latest changes for Russia) or a system backup is restored (so the ...


20

It's no problem at all. Just remember to disable the time synchronisation in the VirtualBox Guest Additions, then set the date+time in the virtual machine as you like. There is also an option to go into the Virtual BIOS and set the date+time there, if that's needed at install time. This command disables the synchronization: http://www.virtualbox.org/manual/...


19

It's 6pm in Taipei, what time is it here? date --date='TZ="Asia/Taipei" 18:00' Fri Jul 16 11:00:00 BST 2010 At 11am here in London, what time is it in Taipei? TZ=Asia/Taipei date -d "11:00 BST" Fri Jul 16 18:00:00 CST 2010


18

I am usually using echo.|time & my_command & echo.|time when I have nothing else at hand. This causes output like the following: > echo.|time & ping -n 4 localhost > nul & echo.|time The current time is: 18:42:34,63 Enter the new time: The current time is: 18:42:37,68 Enter the new time: Not pretty and can be made prettier by piping to findstr:...


17

sleep takes up however much time you pass to it.


16

If you execute time then (even though which time will claim otherwise...) you execute the time command of the shell. That version does not accept -v. Instead, execute the proper time executable: [source] $ /usr/bin/time -v sleep 4 That will work.


16

Your operating system isn't running when the computer is turned off, so Windows has to read the hardware clock in order to get an accurate time. Otherwise, the Windows clock would "stop" every time you turned off your computer. Think of it with a metaphor: You can stand there counting "one-Mississippi two-Mississippi" etc to keep track of time, but if you ...


16

ntpdate -q does what you want. Example: root@host1:~# ntpdate -q host2 server host2, stratum 4, offset 109.584520, delay 0.77560 17 Apr 21:48:16 ntpdate[28849]: no server suitable for synchronization found In this case, the servers have a difference of about 110 seconds.


16

If you have ffmpeg, you should also have ffprobe: ffprobe -i input.file -show_format | grep duration ffprobe -i input.file -show_format -v quiet | sed -n 's/duration=//p' This will also give fractions of seconds, if that's a problem you can further process that away with sed.


15

Your CMOS battery that maintains the BIOS (and clock) information could have run out. Change it, it is usually a CR2032 battery and really easy to swap out on your motherboard.


15

This is fairly close: $ TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S' $ time sleep 1 real 1.01s user 0.00s sys 0.00s


14

Just use ffprobe directly. No need for sed, grep, etc. There are several "durations" you can acquire (depending on your input). Format (container) duration $ ffprobe -v error -show_entries format=duration \ -of default=noprint_wrappers=1:nokey=1 input.mp4 30.024000 Adding the -sexagesimal option will use the HOURS:MM:SS.MICROSECONDS time unit format: ...


13

I had absolutely no luck with the up-voted Skinny Clock utility. Instead I tried "TClock", which was mentioned in a side conversation as not being compatible with Windows 7 circa 2009. Apparently we didn't have long to wait- in 2010 an update was released that is fully compatible with Windows 2000/XP/2003/Vista/2008/7 32 & 64 bit. TClock 2010 works ...


13

Yes you can. It's not on the Time control panel, it's on the Regional Options. You'll have to make a custom region that uses 24h time. The time format should be "H:mm:ss" instead of "h:mm:ss".


13

You will need to install a TimeServer on the same network. Now there are articles available to make a Windows 7 machine able to share time.. but I am not sure. I know all Windows 2000+ Servers come with NTP enabled as standard and when you are in a domain it automatically uses the servers time across the domain. Microsoft Recommends using a dedicated time ...


12

It will probably lengthen the time you get from your battery without recharging. Other than that, I severely doubt that using an antenna will lower the life expectance of it. At least not in meaningful time spans.


12

The only way I can think of is to change the date format. Open Control Panel->Clock, Language, Region->Change the date, time, or number format->Additional Settings...->Date tab Prepend dddd to the Short date: format You'll then see the day name in the tray clock. Of course, this will change the short date format throughout the OS, which may or may ...



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