all groups > sql server reporting services > october 2006 >
You're in the

sql server reporting services

group:

Formating Dates


Formating Dates jcl_tw
10/9/2006 3:15:02 PM
sql server reporting services:
In my chart report, my x-axis date is displaying as 9/1/05, 10/1/05, etc. I
would like to display the date as 9/05, 10/05, etc, is it possible?

Thanks,
RE: Formating Dates Amarnath
10/9/2006 10:20:02 PM
Try the value in the format tab if the list provides the format select it .
otherwise try giving dd/mm in the text box of the format tab.

Amarnath

[quoted text, click to view]
RE: Formating Dates jcl_tw
10/10/2006 9:59:01 AM
Amarnath,

Tried using "mm/yy" in the Format Code field. The date shows up as 00/05
for all the months.

Jimmy

[quoted text, click to view]
RE: Formating Dates Amarnath
10/10/2006 10:43:01 PM
Try using instr function to seperate the mm/yy ofcourse use date to string
convertion.

Amarnath


[quoted text, click to view]
Re: Formating Dates RajDeep
10/10/2006 11:25:41 PM
Jimmy,

Why dont you try this

=Format(DatePart("D",Fields!Date.Value),"#0") & "\" &
Format(Datepart("M",Fields!Date.Value),"#0")

[quoted text, click to view]
Re: Formating Dates jcl_tw
10/11/2006 10:57:02 AM
RajDeep,

Try your solution but unfortunately, the "Format Code" field under "Show
Labels" in the chart doesn't allows that many characters.

Jimmy

[quoted text, click to view]
Re: Formating Dates Jen
10/11/2006 11:35:13 AM
use MM/yy
mm refers to minutes, MM to month.

[quoted text, click to view]
Re: Formating Dates jcl_tw
10/11/2006 11:46:02 AM
Jen,

It works!

Thanks,
Jimmy

[quoted text, click to view]
Re: Formating Dates RajDeep
10/11/2006 10:21:38 PM
you dont need to mention anything in the format code,for value you will
have Fields!Date.Value and under that if you can see some thing like
label,write the expression posted there.
even though you got the solution ,it will be useful when it is
important

Regards
Raj Deep.A
[quoted text, click to view]
AddThis Social Bookmark Button