current-time

Retrieve current Eastern Time with DST-aware ISO 8601 and Unix timestamps.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/illogical/InstructionLibrary --skill current-time
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: current-time
Source: https://github.com/illogical/InstructionLibrary/tree/main/skills/current-time
Command: npx skills add https://github.com/illogical/InstructionLibrary --skill current-time

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides the current date and time in the Eastern Time Zone (ET) with automatic handling of DST transitions, enabling accurate time-based decisions and logging.

Core Features & Use Cases

  • DST-aware retrieval for EST/EDT with correct offset handling.
  • Outputs include a human-readable date/time and an ISO 8601 timestamp, suitable for logging and scheduling.
  • Use Case: synchronize reminders or event timestamps in ET regardless of DST changes.

Quick Start

Run the command bun scripts/get_eastern_time.ts to fetch the current Eastern Time.

Frequently Asked Questions about current-time

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get the current Eastern Time with automatic DST handling in JavaScript?

To get the current Eastern Time with DST handling, use JavaScript's built-in Intl.DateTimeFormat configured for the America/New_York timezone. This automatically calculates EST and EDT offsets. The Skill outputs a human-readable dateTime, an ISO 8601 string, and a Unix timestamp.

What is the difference between EST and EDT when generating timestamps for scheduling?

The difference between EST and EDT is a one-hour offset shift during Daylight Saving Time transitions. Using a DST-aware timezone calculation with America/New_York ensures scheduling timestamps automatically adjust for this offset change. This prevents fixed-offset errors in reminders and event logs.

Can I retrieve an ISO 8601 timestamp and Unix epoch for Eastern Time without external inputs?

Yes, you can retrieve an ISO 8601 timestamp and Unix epoch for Eastern Time without external inputs. The script relies entirely on the built-in Intl.DateTimeFormat object. It generates both formats alongside a human-readable string for immediate logging or scheduling use.

Does this approach to fetching Eastern Time require any external API dependencies?

Fetching Eastern Time with this approach requires zero external API dependencies. It uses the standard JavaScript Intl.DateTimeFormat functionality mapped to the America/New_York locale. This allows accurate DST-aware time retrieval entirely locally without network calls.

How do I run the script to calculate Eastern Time for my reminders?

To calculate Eastern Time for reminders, run the command bun scripts/get_eastern_time.ts in your environment. This executes the script to fetch the current time. It uses Intl.DateTimeFormat with America/New_York to produce a human-friendly dateTime and ISO 8601 string.