all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

Custom date format...


Custom date format... Phil Aldis
8/22/2004 8:25:01 AM
sql server reporting services:
Hi,

I'm just trying to get custom date formatting working. I have a datetime
variable plotted on an x axis of a scatter plot. The axis is marked as
continuous ('numeric of timescale values').

I'd like the time to appear as eg 'Jan 04' and thought this would be
possible based on the posting by Robert Bruckner in response to 'Custom Date
Format' (09/Apr) in which he said that one could use these functions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomdatetimeformatstrings.asp

However I cannot get any of these codes to work. I have tried putting the
codes in or by putting the format code as this:

=Format(Fields!calDay, "MMM")

Woudl be very grateful if someone could tell me whether this is possible and
if so how I should go about it.

Thanks,

Phil

PS I don't want to convert to a string as I have lots of values and quite
like keeping it as a continuous axis.




Re: Custom date format... Ravi Mumulla (Microsoft)
8/22/2004 9:35:45 AM
Pull up chart properties dialog, go to X-axis tab, check "Numeric and
Timescale Values" checkbox, check the "Show Labels" checkbox, and enter "MMM
yy" in the Format code textbox (without the double-quotes.)

--
Ravi Mumulla (Microsoft)
SQL Server Reporting Services

This posting is provided "AS IS" with no warranties, and confers no rights.
[quoted text, click to view]

Re: Custom date format... Phil Aldis
8/22/2004 11:15:01 AM
Thanks - works perfectly.

Phil

[quoted text, click to view]
AddThis Social Bookmark Button