• converts time declaration from string to unix time (miliseconds).

    Parameters

    • duration: string

      e.g. 2d, 1h, 5m

    Returns undefined | number