Questions tagged [date-time]

511 questions
89
votes
6 answers

How can I check a system's current NTP configuration?

I need to verify the current NTP configuration on some Windows systems. Ideally, I'd like to be able to do this via command line instead of navigating through configuration screens. (I'm working on several different OS versions, and configuration…
Iszi
  • 13,585
  • 44
  • 113
  • 181
83
votes
9 answers

Windows 7, file properties, date modified, how do you show seconds?

Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like…
54
votes
6 answers

How to change Windows 10 Lock screen time format?

My Windows 10's time format is 24 hour clock, this includes the taskbar but the lock screen is still 12 hour clock format. How do I change the format of my time in lockscreen?
TungstenX
  • 871
  • 2
  • 8
  • 13
39
votes
6 answers

Leap Seconds in Windows

A leap second was recently added on June 30, 2015 23:59:60 UTC. How are leap seconds implemented in Windows (specifically Windows 7)?
Steven
  • 27,531
  • 11
  • 97
  • 118
35
votes
5 answers

Force date/time/clock sync

My Snow Leopard macbook is set to Set date and time automatically: Apple Americas/U.S. (time.apple.com), but despite sitting idle for several hours (with internet connection), it has yet to do any syncing, the date remains off by ~2 days.
user73728
34
votes
2 answers

How do you retrieve the current time on a server?

I want to know the time on a server accurate to the millisecond. there's this way: local $ ssh user@servername Welcome to server! server $ date Fri Feb 18 11:27:50 EST 2011 But I need more accuracy. Is there a command that will be more precise?
user2254
  • 653
  • 3
  • 7
  • 10
30
votes
10 answers

Windows 7 time keeps changing by itself

As the title suggests windows time keeps changing in random times, with random amounts. It sometimes happens every minute, sometimes it is good for hours. If I go hit synchronize with Internet time, it updates to the correct time. Things I…
kali
  • 369
  • 1
  • 3
  • 12
30
votes
7 answers

Using Date and Times in a batch file to create a file name

I am running a program from a batch file, which when it is done performs an automatic backup of my MySQL database. I would like the batch file to create a different back up for each run, so I can backtrace. The desired filename would be…
guyfromfl
  • 403
  • 1
  • 4
  • 6
28
votes
11 answers

How to prevent Excel to use the OS regional settings for date patterns in formulas

According to this question I have the following problem: I want to use some Excel function (not the cell formatting) like TEXT(A1, {date_pattern}) But the person who answer my previous question make me found that the date pattern change according to…
28
votes
5 answers

Automatically sync Windows time more often than default

I have a few PCs that are losing time and I'd like Windows to sync them more often with the Internet time. I think the Windows default attempts to update only once per day, and does not update if the time server is not available (which seems to…
DermFrench
  • 627
  • 3
  • 9
  • 17
27
votes
4 answers

Internet Time tab has disappeared from the Date and Time applet of the Control Panel

Previously, there was an Internet Time tab on the Date and Time applet of the Control Panel, wherein one could force a query of an internet time server and also type in a different server from the ones supplied. However, this tab has now…
Animadversor
  • 478
  • 2
  • 5
  • 13
25
votes
2 answers

What is this 14-digit time format from Windows registry?

Microsoft Office 365 saves information in the registry about what time it last searched/downloaded/applied updates in a format like this: Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\office\ClickToRun\Updates' | select…
Cpt.Whale
  • 4,501
  • 2
  • 13
  • 25
24
votes
6 answers

Is there any way to properly display negative time spans in Excel?

Is there any way to make Excel show a negative time span? If I subtract two time values (say, when subtracting the actual amount of time spent on something from the amount of time planned for it) and the result is negative, Excel just fills the…
Pepor
24
votes
8 answers

Can't Sync Windows 10 Clock to The Internet

I am having a serious problem with my computer. I simply can't sync the clock on my windows 10 running machine to the internet. When I go to "Date and time settings" and turn the "Set time automatically" switch off and then back on, it either loads…
Awusuwah
  • 341
  • 1
  • 2
  • 4
22
votes
2 answers

How to disable time sync with Windows 7 as host OS in VirtualBox?

I have a 64 bit Windows 7 with VirtualBox running the same 64 bit Windows 7 as a guest OS. When I set a specific date and time, it will always revert to the host OS’s date and time on startup. How can I disable this?
rovyko
  • 1,196
  • 2
  • 10
  • 16
1
2 3
34 35