function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Formatting 4-digit number as a year

I have a "Year Built" field on one of my objects, defined as a 4-digit number. It works fine except that it is always formatted as if it is a number: 2,009 instead of 2009. This is in a managed package, so I cannot delete the field or change the length of the field.


How can I format this field so that it appears as a year instead of a number?





What about creating a formula field based on that field?