Go to your SharePoint list. Figure 1: Office Here I have an Year from DOB column. Click Create Column from the top ribbon. Figure 2: Ribbon The following popup will appear.
Figure 3: Appear Enter column name (Year) and select calculated column. Figure 4: Create Column Paste the following code to Formula field. =CONCATENATE(YEAR(DOB)) Here, I have an year from DOB date time column. Figure 5: Time Column Click Ok button. The results will be as in the following screenshot: Figure 6: Result Summary In this article we have seen how to get an Year only from the date time column using calculation field in SharePoint 2013 list.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: