Hello Susan:
I am sorry I gave you wrong formula as my understanding was you have date in
MM/dd/YYYY or m/d/yy or any other such format. and you want data in MMDDYYYY
format.
As per your comments, I understand your data is in YYMMDD or YYYYMMDD format
and you want the report to show date in MM/DD/YYYY format. Is this the way
want?
If yest, you answered your question already.
use folowing:
iif (
len(data) = 8,
format(mid(data, 5, 2) + "/" + mid(data, 7, 2) + "/" + left(data, 1,
4), "MM/DD/YYYY"),
format(mid(data, 3, 2) + "/" + mid(data, 5, 2) + "/" + left(data, 1,
2), "MM/DD/YYYY")
)
This should do it.
thanks
Sanjay
MID(Fields!LN_1ST_DISB_DATE.Value, 4, 2) &""&
> > > MID(Fields!LN_1ST_DISB_DATE.Value, 6, 2), iif(LEN(
> > > Fields!LN_1ST_DISB_DATE.Value)>6, "20", "19"),
> > > &MID(Fields!LN_1ST_DISB_DATE.Value, 2, 2)
> Hi,
>
[quoted text clipped - 22 lines]
> > > Fields!LN_1ST_DISB_DATE.Value)>6, "20", "19"),
> > > &MID(Fields!LN_1ST_DISB_DATE.Value, 2, 2)