2
I have a data field (Datetime) and also an integer field. I need to make the difference between this date field and today’s date (Datetime.Now) and compare whether it is larger or smaller than my integer field. I made that mistake.
Oprerator '>' cannot be applied to operands of type 'System.TimeSpan' and 'int'
That is my expression:
var atendimento = db.T_CRM_StatusPDV
.Where(dt => (dt.DT_TransacaoV - DateTime.Now) > dt.DE_FrequenciaTrans)
This integer value represents what? hours, minutes, seconds, milliseconds?
– Fernando Leal
are days, whole
– pnet