susant
susant

Reputation: 382

how to get utc fotmat date and time WCF from sql server by using Linq or something

i am using DateTime.UtcNow to store the date in my database ..

while retrieving i need to filter on only today's date means for the latest ..

i need some suggestions

Upvotes: 2

Views: 93

Answers (1)

gavin
gavin

Reputation: 1346

If you have tons of records return from your query then you should filter out the date on sql server instead of using linq. If you only have a couple hundreds of records, then use linq.

Upvotes: 2

Related Questions