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

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top