I use in Database with type date. I wrote example in field 12.12.2012. If execute request in DB example:
"Select date From Date" => I get 12.12.2012.
I get 12.12.2012. I use node.js for send data on client and get 12.12.2012:00:00:00. Mayby not properly entry in variable callback?
The date you received '12.12.2012:00:00:00' includes the time as well as the date. You can look at it in two parts where '12.12.2012' is the date, and '00:00:00' is the hours:minutes:seconds of the day. Read more here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.