Daysuf Equivalent

Hello everyone!

Is there an equivalent to the php date format daysuf?

It returns the correct suffix for the day of the month (“st” | “nd” | “rd” | “th”)

For example:
1st
2nd
3rd
4th
etc

Right now you would need to perform a switch() formula, use a helper table, or create a custom pack!

custom pack would be fun and easy, but all pack calculations are not run locally and therefore take longer (aka your doc will take longer to calculate and large docs will suffer in performance)

If you at just trying to accomplish that small formula, a helper table or switch() formula is way I would go.

3 Likes

Thank you!

That ended up being much easier than I thought!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.