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

ECL function request - Given an UTC time, convert it to the locale time provided the locale

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.10
    • Fix Version/s: 7.0.0
    • Component/s: ECL Standard Library
    • Labels:
      None

      Description

      Similar to:

      DateFormat pstFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
      pstFormat.setTimeZone(TimeZone.getTimeZone("PST"));

      System.out.println(pstFormat.format(date));

      Example usage: Client browser is required to show column information in local time. Client calls a Roxie query, the query accepts a locale parameter along with other parameters, process the request and returns the localized results.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcamper Dan S. Camper
                Reporter:
                arjunachala Arjuna Chala
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: