Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-22819

Docs: Std.Date.FromStringToDate result constraint

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.22
    • Component/s: Documentation
    • Labels:
      None

      Description

      The documentation for this function states:

      The FromStringToDate function converts a string to a Date_t using the relevant string format. The resulting date must be representable within the Gregorian calendar after the year 1600.

      In reality, there is no check on the parsed value to ensure that the result is a correct Gregorian date. If this is important, callers should pass the result to the Std.Date.IsValidGregorianDate() function to determine validity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamesdefabia Jim DeFabia
                Reporter:
                dcamper Dan S. Camper
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: