Question

I am trying to create a calculated column in SharePoint 2007. I want it to return the year of the CreatedBy column date and set the day to be 1 and the month to be January the data type returned by the formula is of type Date.

Any ideas how I can do this? =YEAR([Created]) does not seem to work as expected.

Thanks Nav

Was it helpful?

Solution

=DATE(YEAR([Created]),1,1)

alt text

OTHER TIPS

You can simply use =CONCATENATE(YEAR([Created])), it represents the year as plain text

Another solutionn = TEXT (created,"yyyy')

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top