Options
All
  • Public
  • Public/Protected
  • All
Menu

Module time

Time Functions

Time Functions

timeSecondsToHms

  • timeSecondsToHms(secondsToHms: number): string
  • name

    timeSecondsToHms

    description

    Seconds to H:m:s

    summary

    import { match } from "@corefunc/corefunc/time/seconds-to-hms";

    since

    0.3.12

    example

    timeSecondsToHms(1_800) ➜ "30 minutes"

    example

    timeSecondsToHms(3_725) ➜ "1 hour, 2 minutes, 3 seconds"

    Parameters

    • secondsToHms: number

    Returns string

Generated using TypeDoc