Logo

AueraUI

Docs

Components

Dark

Light

System

Language

JavaScript

TypeScript

Theme Variant

Corporate

Obsidian

Docs

Components

Changelog

Roadmap

Templates

Playground

Getting Started

Quick Start

SoonSoonUpdated

Usage

SoonSoonUpdated

Customization

Design

SoonSoonUpdated

Style Rules

SoonSoonUpdated

Components

Avatar

SoonSoonUpdated

Backdrop

SoonSoonUpdated

Badge

SoonSoonUpdated

Box

SoonSoonUpdated

Breadcrumb

SoonSoonUpdated

Button

SoonSoonUpdated

Card

SoonSoonUpdated

Checkbox

SoonSoonUpdated

Collapse

SoonSoonUpdated

Drawer

SoonSoonUpdated

Fab

SoonSoonUpdated

File Upload

SoonSoonUpdated

GroupMap

SoonSoonUpdated

Icon

SoonSoonUpdated

IconButton

SoonSoonUpdated

Image

SoonSoonUpdated

Loading

SoonSoonUpdated

MapItems

SoonSoonUpdated

Menu

SoonSoonUpdated

Modal

SoonSoonUpdated

OTP Input

SoonSoonUpdated

Password Input

SoonSoonUpdated

Select

SoonSoonUpdated

Skeleton

SoonSoonUpdated

Stack

SoonSoonUpdated

Status Badge

SoonSoonUpdated

Switch

SoonSoonUpdated

Table

SoonSoonUpdated

Tabs

SoonSoonUpdated

TextInput

SoonSoonUpdated

Toast

SoonSoonUpdated

Tooltip

SoonSoonUpdated

Utilities

Core Utils

SoonSoonUpdated

formatBytes

SoonSoonUpdated

formatDate

SoonSoonUpdated

formatNumber

SoonSoonUpdated

formatTime

SoonSoonUpdated

formatTimeAgo

SoonSoonUpdated

StrFun

SoonSoonUpdated
Utilities

Format Time Ago

Formats a given date into a human-readable relative time format, such as '5 minutes ago' or '3 days ago' .

Logo

Usage Example

Copy

On this page

Scroll to top