Fetch DateTime CRM 2011
问题 Im having some trouble with DateTime: Using Fetch <attribute name='new_startdate' groupby='true' dategrouping='day' alias='new_startdate' /> <attribute name='new_enddate' groupby='true' dategrouping='day' alias='new_enddate' /> <attribute name='new_duedate' groupby='true' dategrouping='day' alias='new_duedate' /> Think this is the bit thats Wrong.... DateTime scheduledstart = ((DateTime)((AliasedValue)a["new_startdate"]).Value); tracer.Trace("DateTime 1 Done"); DateTime enddate = ((DateTime)(