Get Year of CreatedBy date in a calculated column
-
09-10-2019 - |
문제
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)
다른 팁
You can simply use =CONCATENATE(YEAR([Created])), it represents the year as plain text
Another solutionn = TEXT (created,"yyyy')
제휴하지 않습니다 StackOverflow