fredabisai/humanreadable

create dayByNumber function

fredabisai opened this issue · 1 comments

create dayByNumber function

The function will return the name of the week by number and format(LONG or SHORT) specified.
By default, the format should be LONG
Examples:

  • 1, LONG - Sunday
  • 2, SHORT - Mon