Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Help calculate the last day of the previous month

$
0
0
Hello again,I currently have an Access report expression "=DateSerial(Year(Date()),Month(Date()),0)" that pulls this date "Thursday, March 31, 2016". I am fairly new to SSRS and this expression does not seem to work in SSRSThe only thing I can figure out for Reporting Services is this expression "=dateadd("m",0,dateserial(year(Today),month(Today),0))" which looks like this in my SSRS report "3/31/2016 12:00:00 AM".How can I get SSRS to show just the last day of the last month like this "March 31, 2016"?DP

Viewing all articles
Browse latest Browse all 2791

Trending Articles