Get year form date in SSRS report

Description:-

In this article we will see about hoe to get only year in SSRS report. here I have display only year 2 digit in SSRS report. using expression how to get it. here is the solution to get year 2 digit. it could be current year or previous year or next year. here is the expression to get year 2 digit. Here my current year is 2016.

Expression:-

=Format(CDate(today()), "yy")
Output:- 16

=Year(today())
Output:- 2016

today().AddYears(-1).year
Output:- 2015

CStr(Year(Today)-1)
Output:- 2015

today().AddYears(+1).year
Output:- 2017

=Format(CDate(year(today())+1), "yy")
Output:- 17

Format(Year(today())+1).Substring(2)
Output:- 17

Format(Year(today())).Substring(2)
Output:-16

Related Posts

Thanks for comments.....

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer