发布日期:30/11/-0001 [英] Date Issue: 30/11/-0001
本文介绍了发布日期:30/11/-0001的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的网页上有一个Java脚本日历控件,用于管理日期,在某些时候,日期值在我的数据库中存储为"30/11/-0001".
I have a java script calendar control on my webpage for managing dates, in some time the date value is stored in my DB as "30/11/-0001".
如果有人帮助我,将不胜感激.....
It will be more appreciated if any one help me, please.....
推荐答案
您需要在前端进行一些测试,并获取使用不同输入构造的SQL语句,并查看要插入数据库的内容.SQL查询中的日期格式错误可能是您看到的db值的罪魁祸首.
You need to do some testing on your front end and get the SQL statements that are constructed with different inputs and look at what's being inserted into the database. A malformed date in the SQL query may be the culprit for the db value you're seeing.
这篇关于发布日期:30/11/-0001的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文