7 Replies Latest reply on Feb 1, 2017 10:59 PM by Mohamad Russzaimie

    Function to format dates (and datetime) values as strings

    Alex Blakemore

      It would be helpful if Tableau had a function to specify how to format dates as strings, similar to oracle's to_char() function. You can write a calculated field to get the same effect using date_part(), but it gets tedious and probably inefficient. It would be simpler to be able to say something like

      date_to_string([some field], "DD-MON YYYY")