|
date a
a = Format (Now, "yyyy-mm-dd hh: mm: ss")
Time after execution
2017-1-4 am 09:54:07
Error inserting database
Although the problem is solved, I don't quite understand yet.
I just changed the type of a to string type. Obviously, the data field is a time type, and I insert the character type. |
|