A lightweight PWA to convert Unix timestamps into human-readable dates and display the current timestamp in real-time.
📦 Built with Next.js · TypeScript · Tailwind CSS & DaisyUI · PWA-ready
🔗 Live Demo: https://mCodex.github.io/react-timestamper
- ⏱️ Current Timestamp: Real-time Unix timestamp in seconds & milliseconds.
- 🔄 Timestamp Converter: Convert 10-digit or 13-digit timestamps to UTC & local dates + relative time.
- 📋 Copy to Clipboard: One-click copy icons for all outputs.
- 🎨 Theming: Dark & light mode via DaisyUI themes.
- 📱 PWA: Installable on mobile & desktop, offline support via service worker.
git clone https://github.com/mCodex/react-timestamper.git
cd react-timestamper
npm install
npm run dev
Open http://localhost:3000 in your browser.
- Current Timestamp: Click the copy icon to copy current timestamp (sec/ms).
- Convert Timestamp: Enter a Unix timestamp and click Convert.
- View UTC, Local date & relative time, then copy with the copy icon.
- Tweak theme by changing
data-theme
inapp/layout.tsx
. - Add global overrides in
globals.css
or extend DaisyUI intailwind.config.js
.
We welcome contributions! Follow the steps:
- Fork the repo
- Create a branch (
git checkout -b feature/foo
) - Commit changes (
git commit -m 'feat: add foo'
) - Push to branch (
git push origin feature/foo
) - Open a Pull Request
MIT © mCodex