How to format Date[N] in screener results

Forums ProRealTime English forum ProScreener support How to format Date[N] in screener results

Viewing 3 posts - 1 through 3 (of 3 total)
  • #170324

    How can I format the Date[N] variable in a column of the screener.
    It ‘translates’ YYYYMMDD’ to a numeric value.

    #170340

    IT IS a numeric value. ProRealTime only supports floating point numeric data,

    A date is usually displayed, with DrawText, as 20M (20 million).

    You can try to remove the two leftmost digits (20), with this trick, so that 20210526 is abridged to 210526, but it will be reported with the thousands separator and, for years 0 to 9 the leading 0’s will be dropped (not tested):

    #170361

    Hi Roberto, thanks for your solution, works great!

    I created a millennium-bug by taking a shortcut to your code by just subtracting 20000000 🙂

    1 user thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login