Time Compare Skill
Compare local system time with remote sorftime server time to check for time drift or synchronization issues.
Usage
When user wants to compare times:
- Get local current time:
dateorGet-Datecommand - Call sorftime MCP service to get remote server time using
sorftime_get_timetool - Calculate and display the difference
Step-by-Step
Get local time:
- Windows:
(Get-Date).ToString("yyyy-MM-dd HH:mm:ss") - Linux/Mac:
date "+%Y-%m-%d %H:%M:%S"
- Windows:
Get remote time from sorftime MCP:
- Use
sorftime_get_timetool (no parameters needed)
- Use
Compare and report:
- Calculate offset = remote_time - local_time
- Display in seconds with sign (+/-)
- Report status based on threshold
Example Output
=== Time Comparison Report ===
Local Time: 2026-04-17 15:30:25 (UTC+8)
Remote Time: 2026-04-17 15:30:28 (UTC+8)
Offset: +3 seconds
Status: ✓ Time synchronized (offset < 5 seconds)
MCP Tool Reference
This skill uses the sorftime MCP service:
sorftime_get_time- Get current server time from sorftime
Notes
- Positive offset: remote time is ahead of local time
- Negative offset: remote time is behind local time
- Threshold for "synchronized": < 5 seconds (configurable)