Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Report displaying wrong day beside date?

$
0
0

Hi,

I have a report that is run against several people and for on of them . It does not show the correct Day beside the date.

Here are my two expressions

The first display the Day of the week.

The second displays the date.

=WeekDayName(DatePart(DateInterval.Weekday,Fields!scheduledstartValue.Value),True,FirstDayOfWeek.System)


=IIf(IsNothing(Microsoft.Crm.Reporting.RdlHelper.DateTimeUtility.ConvertUtcToLocalTime(Fields!scheduledstartValue.Value, Parameters!CRM_UserTimeZoneName.Value)), "Not specified", CDate(Microsoft.Crm.Reporting.RdlHelper.DateTimeUtility.GetDay(Microsoft.Crm.Reporting.RdlHelper.DateTimeUtility.ConvertUtcToLocalTime(Fields!scheduledstartValue.Value, Parameters!CRM_UserTimeZoneName.Value))).ToString("d", Microsoft.Crm.Reporting.RdlHelper.ReportCultureInfo.GetCultureInfo(Parameters)))

It does not do this for everyday of the week?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images