문제

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

도움이 되었습니까?

해결책

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

alt text

다른 팁

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

Another solutionn = TEXT (created,"yyyy')

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top