2
Answers

Insert Statement

Hi


MySqlCommand myCommand = new MySqlCommand("Insert into attendance (attendance_id,employee_id,punchin_time) values(" + 10 + "," + empno + "," + "Now()"  + ")", con);
  myCommand.ExecuteNonQuery();

IT is working fine . DateTime is correctly stored in Database . I want to know whether this will store Server Date&Time or Client Machine . I want Server Date&Time.

Thanks

Answers (2)