4 Replies Latest reply on May 2, 2012 9:52 AM by Dinesh Kushwaha

    how to format date in calulated field?

    Dinesh Kushwaha

      how to format date in calulated field? I'm using datetrunc function to get accurate by year month hour etc. Now I want to display the either in mm/dd/yyyy format (when date_part in year, month or day) or in mm/dd/yyyy hh:mm:ss format (when date_part in hour, minute or second). Is something like to_char(<date>,'<format>') in oracle, is available in Tableau?