Time is an element of the overall measurement system of for space. Time can refer to the time it is now, according to timing devices, the interval between two events, the duration of an event, or the sequence of events.

learn more… | top users | synonyms

207
votes
2answers
5k views

How do I reset the time on my computer without turning it on?

Alright, so today, I did something very stupid: Do an experiment on my computer without backing it up. So I saw that the calendar in Windows could only go up to 12/31/2999 (or something like that). ...
51
votes
5answers
7k views

Are CPU clock ticks strictly periodic?

Is the frequency of a CPU a mean value of about how many clock ticks there are in a second or does it have a more strong, physical stability? In my opinion, it must be not stable nor unstable. So ...
50
votes
4answers
4k views

NTP - How are NTP servers so accurate

I've noticed that on my servers and other machines the clock always drifts so it has to sync up to remain accurate. How do the NTP server clocks not drift and always remain correct?
34
votes
2answers
69k views

Updating Time : ntpdate[3108]: the NTP socket is in use, exiting

The time on my system is incorrect for some reason. i need to run an update but i can't seem to be able to this is the errror. ntpdate pool.ntp.org 31 Aug 12:31:59 ntpdate[3108]: the NTP socket is in ...
32
votes
9answers
58k views

Show Windows 7 logon time?

On Windows 7 Ultimate, is there a way to see when I logged on into the current session? I want to find out how long I have been at the PC / when I started it up.
22
votes
7answers
36k views

Windows 7 - display date using small icons

I recently upgraded to Windows 7 and need the date displayed with the time. This works, but only if I use large icons in the taskbar settings which is quite ugly. Any ideas how to display the time ...
21
votes
1answer
17k views

Using virtual box is it possible to set your virtual machine time to be different from host time

Using virtual box is it possible to set your virtual machine time to be different from host time. Say 1 year into the past. If I wanted to run the windows XP images provided by Microsoft from here. ...
17
votes
4answers
1k views

Will overclocking your PC with no internet access screw up the system time?

Let's say you have a PC which is not connected to a time server, so it has no external methods of keeping track of time. You turn the machine on, and set the time and date in the BIOS. Then you ...
16
votes
6answers
28k views

How to get video duration in seconds?

How can I get video duration in seconds? What I've tried: ffmpeg -i file.flv 2>&1 | grep "Duration" Duration: 00:39:43.08, start: 0.040000, bitrate: 386 kb/s mediainfo file.flv | grep ...
15
votes
6answers
9k views

How to prevent Windows 7 from reading the BIOS time?

I'm using the "Time Limit" feature of Windows Live Family safety. I've placed a time restriction on my computer from 12 AM to 4 AM. However if someone changes the BIOS time, the Windows time will be ...
15
votes
4answers
1k views

How do PCs know when the time has changed?

In my country, the official time changes in the first month of spring and fall. When the official time changes, my mobile phone's and PC's clocks change as well. How do these devices find out there'...
12
votes
2answers
3k views

Is there any command like time, but for memory usage?

Is there any command like time, but that reports more statistics? It would be great if I could do something like: $ statistics some_command time: real 0m3.002s user 0m0.000s sys ...
11
votes
3answers
3k views

Change the output format of zsh's time

I've just switched to zsh. However, I really don't like how the time builtin command also outputs the command that it's timing. I much prefer the bash style output. Anyone know how to switch it over?...
11
votes
2answers
12k views

In Windows 7, how to show day name in system tray clock?

Without installing third-party software, how do I display the day in the clock in the lower-right system tray clock in Windows 7. For example: "Tuesday" (in addition to normal time and date display)...
10
votes
2answers
21k views

Determine the time difference between two linux servers

I am troubleshooting a latency network issue on a network. It is probably a nic or cabling issue, but while I was going through the process of figuring it out, I was looking at the timings of a ping ...
10
votes
3answers
22k views

Can the Windows clock be configured to display a 24-hour-based time? [duplicate]

Is it possible to make the windows clock display its time in a 24-hour format instead of the default 12-hour format? There doesn't appear to be any way to do this via the UI, but I'm wondering if ...
10
votes
4answers
3k views

Is there any software or hardware which lets you stop, slow down, speed up or even reverse time?

Obviously I'm talking about time in terms of the PC clock rather than real time. We were testing an application we've developed at work by setting the clock forward and back to simulate different ...
9
votes
1answer
13k views

How to synchronize clocks for computers that are not online?

I have some computers that run Windows 7 embedded and are connected to each other by a switch, but are not connected to a larger network or the internet. After a few weeks, the clocks drift and it is ...
8
votes
4answers
12k views

Timezone conversion by command line

I know about http://www.timeanddate.com/worldclock/converter.html I can't figure out how to query http://www.google.com in a sane natural format like "5pm BST in PST". Or do I have to write such an ...
8
votes
3answers
21k views

How to set Debian to automatically update time and date?

I have an old computer and BIOS counts the time slower than real ;) So, how can I set my OS to update the time automatically using the internet? If it updated the time only during booting, it would ...
8
votes
2answers
3k views

Bash Run command for certain time?

I am making bash script for my use. How can i run a command for certain time, like 20 second and terminate command? I tried a lot of solutions but nothing works, I also tried timeout command with no ...
8
votes
6answers
31k views

how long to zero a drive with dd? [closed]

How long will it take to zero fill 1TB (using dd dev/zero)? I'm actually doing two 500G drive simultaneously if it matters.
8
votes
1answer
789 views

How do I use options with time?

Whenever I try to use options with the time command, such as format (-f, --FORMAT), I get the following error: bash: -f: command not found How do I use options with time?
8
votes
2answers
6k views

Is it possible to set wget to show the transfer times in milliseconds?

Generally, wget shows transfer times in seconds. Is there a way I can to make it show the time in milliseconds?
7
votes
3answers
6k views

How is time measured in computer systems?

Something I have been puzzled about is this: how exactly does a computer regulate and tell time? For example: if I were to write a program that did this: Do 2+2 then wait 5 seconds How does the ...
7
votes
1answer
12k views

Using find -mmin to find files with modification time in the future

I can use find . -mmin -5 to find files changed in last 5 minutes. However if I try to find files with modification time in the future by giving negative number find refuses to do it: find . -mmin ...
7
votes
2answers
3k views

Fully featured time command on Mac OS X?

On some unix systems I've been used to a time command which many options including ways to format the output (-f) and redirect the output to a file (-o), see for example this man entry of time. ...
7
votes
3answers
3k views

Fastest booting desktop linux distro? [closed]

I'm currently running Ubuntu 9.04 on my laptop and I'm very happy with it. But boot times aren't great... So I'd like to have a second distribution on my hard disc that I can boot to quickly check my ...
7
votes
2answers
4k views

Public, reputable sources of time sync via HTTP to use where NTP is blocked?

Let's say I'm in a corporate network where the NTP protocol is blocked, the BOFH^H^H^H^H sysadmins won't unblock it, and they didn't bother to set up a good internal NTP server. What's a good source ...
7
votes
1answer
3k views

What is the difference between “stop the task if it runs longer than” inside Trigger and under Settings tab?

When I schedule a task in Windows Task Scheduler, I can set "stop the task if it runs longer than" inside task trigger or inside Settings tab. If I set it inside the trigger it does not automatically ...
6
votes
6answers
12k views

How to show date with clock when Windows 7 taskbar is vertical?

On widescreen Windows 7 desktops, I prefer a vertical taskbar with small icons. However, this appears to remove the date from the clock display. Here's what it looks like, missing the date. How ...
6
votes
4answers
7k views

Easiest way to time a command line tool

What is the easiest/quickest way to time a command line tool? It doesn't have to be super accurate (+/- seconds is okay) since I expect this to take minutes or even 1 hour+. And writing a batch file ...
6
votes
1answer
3k views

How can I give arguments to time command (ubuntu)

I want to get a bit more information than the standard time command gives, so I want to pass the verbose flag. info time gives as example time -v sleep 4, however when I execute that (both in bash or ...
6
votes
4answers
7k views

How to force 'shutdown' at predefined time, in administrator account?

I want to force a Windows7 Professional home pc, single administrator account, to shut down every day at a predefined time (e.g., 10pm). I want to make it cumbersome for the user to interfere with the ...
6
votes
3answers
10k views

Network latency measurement (Linux)

I'd like to measure network latency for SNMP GET request. There is a free command line tool time which can be used to find timing statistics for various commands. For example it can be used with ...
6
votes
2answers
25k views

Synchronize Internet Time in a Windows script?

Is there a way I can synchronize the system clock with an Internet Time server (i.e: time.nist.gov) via command-line? Preferably, this should be something executable via BAT or PowerShell script. ...
6
votes
1answer
563 views

REPORTTIME for Bash

Zsh has an ingenious feature that automatically prints timing statistics for commands taking longer than $REPORTTIME to execute. Think of it as automatically executing a pipeline through time as ...
5
votes
3answers
388 views

How does operating system software maintains time clocks?

This may sound a bit less relevant but I couldn't think of a better place to ask this question. Now consider this situation, you install an OS on your system, set the timezone and time, do some stuff ...
5
votes
2answers
2k views

Time the execution time of multiple commands

Is there a way to time a series of commands in linux? Perhaps something like this: /usr/bin/time { ls; pwd; ls }
5
votes
3answers
3k views

How can I find files added to the system within X minutes of a specific time?

I have done a fresh install of Mac OS X Mountain Lion today on a new MacBook. Because this was a new install, when I finally got round to configuring some of my own developer things, I was surprised ...
5
votes
1answer
1k views

Computer clock drifts on standby. Can I make Windows synchronize time on every wakeup?

My Dell Vostro 1720 laptop's clock drifts when waking from standby mode (even by five minutes sometimes). This is really annoying and sometimes dangerous. I tried decreasing the Windows time sync ...
5
votes
2answers
5k views

Should I set my BIOS to local time or UTC?

I'm about to install a new system and just noticed that the BIOS time is set to UTC time. Should I set it to local time? What consequences does it have to leave it as is, or set it to local time? The ...
5
votes
2answers
6k views

System Time is Wrong in Windows 7 after dual booting Ubuntu

After installing Ubuntu, the time in my Windows 7 is wrong on start up. Even after updating the time in the Internet Time Settings manually, it still reverts back to the incorrect time after a while. ...
5
votes
2answers
3k views

Laptop BIOS clock resets on reboot?

I have a fairly new Sony Vaio laptop that had some power problems, and they put in a new motherboard yesterday. It fixed my old problems, but now the clock is acting weird. The BIOS clock gets reset ...
5
votes
1answer
92 views

How do I make a virtual machine with non-standard speed of time (timescale)?

I think it should be technically possible, but I don't know of any ways to do this in already existing software. What I mean — the "hardware" clock in the VM should be able to run at different speeds,...
5
votes
1answer
123 views

How can I have a secondary clock show in 24-hour time but the primary one in 12-hour time?

Is it possible to have only one of my secondary clocks display in 24-hour time while the other two clocks display in 12-hour time? If so, how? I would find this useful for dealing with UTC time. ...
4
votes
5answers
1k views

System clock runs behind

The system clock of my PC (not a laptop) runs behind. What could be the cause?
4
votes
3answers
275 views

Time changes when using two OSs

I have a dual boot machine. Ubuntu and Windows Vista. After rebooting from Ubuntu to Vista, i see that the time has changed in Vista and vice versa. Why does this happen?? The time zones on both the ...
4
votes
4answers
14k views

How can I permanently fix my date synchronize problem in linux?

Ubuntu 7.10 server i386 clock/date/time won't stay in sync. Are their log files I can view to tell when the clock changes? For a temporary fix, I created a file in /etc/cron.hourly: #!/bin/sh ntpdate ...
4
votes
3answers
3k views

Bash: number of seconds till midnight of current day

How do I find the number of seconds till midnight of current day?