reporting services - SSRS Static Date Expression -
i'm creating ssrs report , need set begin date returns 12/21/2015. there expression use in ssrs bring static date never change?
i've been chewing on awhile , searching everywhere. thanks
in ssrs can produce date objects manually using cdate , dateserial functions.
to produce today date manually can use:
cdate("2016-11-11") --> yyyy-mm-dd
or
dateserial(2016,11,11) --> year, month, day
and can use them in ssrs expression, i.e:
=iif(today()=cdate("2016-11-11"), crazy expression, crazy expression) or
=iif(today()=dateserial(2016,11,11), crazy expression , crazy expression) let me know if helps.
Comments
Post a Comment