DATEFORMAT

Category: ProScreener

The DATEFORMAT parameter is used in ProBuilder to format screener output as dates. When applied, numeric values representing dates are converted into a readable date format.

number = 20221202 
SCREENER(number AS "Formatted Date" DATEFORMAT)

Explanation:

  • The variable number holds a numeric value representing a date (20221202, which corresponds to December 2, 2022).
  • The SCREENER function is used to display values in a custom format.
  • The DATEFORMAT instruction converts the numeric value into a human-readable date format.

Expected Output: 2 Dec 2022

This is particularly useful when handling historical data and ensuring date values are properly formatted in screener results.

Related Instructions:

  • NUMBERFORMAT proscreener
  • PERCENTFORMAT proscreener
  • SCREENER proscreener
  • STRINGFORMAT proscreener
  • Logo Logo
    Loading...