foldkit-viz - v0.15.0
    Preparing search index...

    Function timeFormat

    • Format a Date using a strftime-like specifier string.

      Supported directives: %Y 4-digit year · %y 2-digit year · %m month 01–12 · %d day 01–31 %H hour 00–23 · %I hour 01–12 · %M minute · %S second · %L ms 000–999 %p AM/PM · %P am/pm · %a short weekday · %A full weekday %b short month · %B full month · %j day of year 001–366 %e day 1–31 space-padded · %f microseconds (ms × 1000) %% literal percent

      Parameters

      • specifier: string

      Returns (date: Date) => string