Options
All
  • Public
  • Public/Protected
  • All
Menu

Module common/date

Index

Functions

getCurrentDateString

  • getCurrentDateString(): string
  • Gets the current date as a string in the format yyyy-mm-dd

    Returns string

    The current date as a formatted string

monthAfter

  • monthAfter(oldDate: string): string
  • Gets the date one month after the given date in the format yyyy-mm-dd

    Parameters

    • oldDate: string

      A date in the format yyyy-mm-dd

    Returns string

    The new date

Generated using TypeDoc