• Convert a Date object to YYYY-MM-DD HH:mm:ss

    TODO: Remove this when pulled out from old code.

    Parameters

    • d: Date

    Returns string