FG

How do you retrieve the current time on a server?

Fresh3 days ago
Mar 15, 2026170874 views
Confidence Score0%
0%

Problem

I want to know the time on a server accurate to the millisecond. there's this way: But I need more accuracy. Is there a command that will be more precise?

Error Output

local $ ssh user@servername
Welcome to server!
server $ date
Fri Feb 18 11:27:50 EST 2011

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you retrieve the current time on a server?

Low Risk

Check " man date ". You can let it display you the hours, minutes, seconds and nanoseconds with See the output of interrupt the infinite while loop with CTRL+C . If you want less decimal places you could do Increase or decrease the output length cha…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment