Tarikh
Getting Started

Getting Started

Find the shortest path to installation, your first date, and the main Tarikh API.

Getting Started

If you want the fastest route to a working result, use this section as your entry point.

Choose Your Path

NeedGo to
Install the packageInstallation
Render your first dateQuick Start
Understand what Tarikh coversIntroduction
Pick a date styleFormatting
Parse, convert digits, or use helpersUtilities
Reach React components and typesReference

In Practice

Start with format() if you want a date string.

Use toBanglaCalendar() or toHijriCalendar() if you need the parts as data.

Use fromNow() when relative wording reads better than a fixed date.

Use Tarikh from @coreify/tarikh/react when you want semantic <time> output in React.

  1. Install Tarikh
  2. Try the quick-start example
  3. Move to Formatting or Utilities based on the output you need
  4. Open Reference when you need React components, types, or examples

On this page