CreationDate

S

- Steve -

I'm using ADO.NET to insert a record into a database. I want to record the
date and time that the record was created. If I was using SQL syntax I
would use the sql function getdate() in the SQL query. When using ADO.Net
I've tried using DateTime.Now but that seems to be the current time of the
client machine, which isn't always accurate. How should I handle this?

--

Steve Evans
Email Services
SDSU Foundation
(619) 594-0708
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top