All projects

Web apps

and the time is

Real-time clocks across time zones, built for remote teams.

Why it existsScheduling across time zones means doing offset maths in your head. This keeps the zones you care about side by side, live, and answers "what time was it everywhere then?"

Pin the time zones you care about and see live time, UTC offset and the difference from your own — or pick a moment and see what time it was everywhere else.

Stars
0
Forks
1
Last push
Updated 6 months ago

Languages

TypeScript62.5%
HTML28.6%
CSS8.8%
JavaScript0.1%
README.md

and-the-time-is

CodeQL latest license

And The Time Is is a timezone dashboard built with Next.js. It helps you compare time across regions in real time, pin the zones you care about, and inspect details like UTC offset, abbreviation, and relative difference from your local timezone.

Find the app here: http://timeis.astrx.dev

What This Project Does

  • Shows your local time in a persistent hero clock.
  • Lets you search and pin world timezones to a personal dashboard.
  • Displays per-card live time, UTC offset, and relative offset from your local timezone.
  • Supports a Time Was mode to evaluate historical/future timestamps across selected zones.
  • Includes a modern timezone detail modal for deeper context when a card is clicked.

Getting Started

Install dependencies and run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

App Modes

  • Time Now: track live time for pinned timezones.
  • Time Was: choose a date/time and compare that same timestamp across pinned timezones.

Features

  • Live local hero clock with timezone context
  • Timezone search by city, IANA name, abbreviation, and UTC offset
  • Quick-add chips (IST, UTC, EST, PST, JST)
  • Popular suggestions and recent searches on focus
  • Pin/unpin timezone cards with persistent localStorage state
  • Card interactions: copy time, rename card label, remove card
  • Accurate UTC offsets derived from timezone data
  • Relative offset shown against local timezone (for example, +5h 30m)
  • Timezone details modal with live clock and metadata
  • Configurable display format (24h, 12h, ISO, Unix)
  • Time Was timestamp conversion support (date-time and unix input)

Technologies Used

Project Structure

  • pages/index.tsx: Time Now page
  • pages/TimeWas.tsx: Time Was page
  • pages/api/timezones.ts: timezone search/suggestion API
  • components/Main.tsx: shared app shell for both modes
  • components/ui-elements/Card.tsx: timezone card rendering and actions
  • components/TimestampModal.tsx: clicked-card details modal
  • utils/timeNow.ts: time formatting, offset helpers, relative offset logic

Available Scripts

npm run dev     # Start development server
npm run build   # Build for production
npm run start   # Run production server
npm run lint    # Run lint checks

Notes

  • Timezone data is persisted in localStorage.
  • Search suggestions are served from /api/timezones.
  • The API layer canonicalizes known legacy timezone aliases (for example, Asia/Calcutta to Asia/Kolkata).

Learn More

To learn more about Next.js, take a look at these resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out Next.js deployment documentation for more details.


Code.Share.Prosper