0

I have an expression in a report like so:

=Year(First(Fields!DepositDate.Value, "dsetCoverSheet")) Mod 100

This gives the last 2 digits of the year in DepositDate, e.g. if DepositDate is 7/1/2013, it gives 13.

What I need though, is fiscal year, which is from 7/1/2013 to 6/30/2014, so that 7/1/2013 gives a 14.

How do I do this?

Ian Preston
  • 38,816
  • 8
  • 95
  • 92
Al Lelopath
  • 6,448
  • 13
  • 82
  • 139

1 Answers1

1

Why not add 6 months to the date before applying the expression?

=Year(DateAdd(DateInterval.Month
    , 6
    , First(Fields!DepositDate.Value, "dsetCoverSheet")))
  Mod 100
Ian Preston
  • 38,816
  • 8
  • 95
  • 92