Link to home
Start Free TrialLog in
Avatar of Rob Gaudet
Rob GaudetFlag for United States of America

asked on

How can I insert date and time into SQL Server using LINQ?

When I do a post like this...

            blogRevisionComment.DateAdded = System.DateTime.Today;

It inserts 12:00 as the time, how can I get it to place the exact time?
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rob Gaudet

ASKER

Duh. Thanks!