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?
Rob GaudetAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:

            blogRevisionComment.DateAdded = System.DateTime.Now;
0
 
Rob GaudetAuthor Commented:
Duh. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.