What are the options for .NET .Where() with Date Values

What are the options for .NET .Where() with Date Values

puzlepuzle Posts: 1Questions: 1Answers: 0

The manual has something like the following:

.Where(q => q.Where("Entered", "DATE_ADD( NOW(), INTERVAL -14 DAY )", ">=", false))

I'm using c# .Net and SQl Server what options are available to specify a date value?
Are they any examples?

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,109 Site admin

    I don't really understand the question I'm afraid. That example is using SQLServer's DATE_ADD() and you can likewise use other SQL methods if you need.

    What is it specifically you are trying to do?

    Allan

This discussion has been closed.