Open Cap Table Protocol Canton SDK - v0.2.84
    Preparing search index...

    Function dateStringToDAMLTime

    • Convert a date string (YYYY-MM-DD) to DAML Time format (ISO string with 0 timestamp) DAML Time expects a string in the format YYYY-MM-DDTHH:MM:SS.000Z Since we only care about the date, we use 00:00:00.000Z for the time portion If the date already has a time portion, return it as-is

      Parameters

      • dateString: string

      Returns string