Questions tagged [time]

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.

584 questions
216
votes
2 answers

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). I was wondering if I set the time to 11:59:59 PM,…
Jon
  • 9,479
  • 40
  • 99
  • 131
158
votes
13 answers

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 Duration Duration : 39mn 43s This what close, but it's not…
user2783132
  • 1,967
118
votes
4 answers

What's the difference between GMT+01:00 Amsterdam and GMT+01:00 Brussels?

I live in Vienna. My newly reset Android device just asked me about my time zone and I have multiple options available: Amsterdam GMT+01:00 Belgrade GMT+01:00 Brussels GMT+01:00 Sarajevo GMT+01:00 Apparently, Windows also offers different GMT+01:00…
Heinzi
  • 4,258
89
votes
4 answers

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 use, exiting i just rebooted, i do not know how…
77
votes
4 answers

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 0m0.000s memory: min 41K peak …
Peter
  • 771
62
votes
9 answers

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.
magnattic
  • 1,266
52
votes
5 answers

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 is there any information available about the…
Gaël Barbin
  • 1,009
52
votes
4 answers

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?
Jason
  • 4,076
52
votes
5 answers

Mac OS X Date & Time Synchronization

When I have set Mac OS X to set it's date and time automatically, how often is this really done? And is there a way I can force an update?
Svish
  • 41,258
44
votes
8 answers

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…
nelaaro
  • 14,139
  • 30
  • 88
  • 115
35
votes
8 answers

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 app?
hendry
  • 1,884
32
votes
2 answers

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 }
juniper-
  • 465
31
votes
9 answers

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. How do I display the time and date when only using small taskbar icons?
kirakat
  • 331
30
votes
3 answers

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 packet leaving a network card and arriving at…
Paul
  • 61,193
28
votes
3 answers

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? Zsh: [casqa1:~/temp]$ time grep foo…
YGA
  • 2,035
1
2 3
38 39