如何验证给出日期是在startdate和enddate之间 [英] how validate that give date is between startdate and enddate
本文介绍了如何验证给出日期是在startdate和enddate之间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题是我有两个日期存储在表中并使用datepicker控件插入日期。现在,使用datepicker控件我选择一个日期,如11/6/2014(mm / dd / yy),以及如何验证第三个日期是否大于或等于(> =)第一个日期且小于或等于(< =)第二个日期..
请在php或javascript中推荐一些代码。
My problem is that i have two date which is stored in table and insert date using datepicker control. now, using datepicker control i am selecting one date like 11/6/2014(mm/dd/yy) ,and how can i validate that this third date is greater than or equal to(>=) first date and less than or equal to(<=) second date ..
Please suggest some code either in php or javascript.
推荐答案
点击此处 [ ^ ]
另一个博客 [ ^ ]
查看这些博客
希望这会有所帮助..
谢谢。
:)
Check here[^]
Another Blog[^]
Check these blogs
Hope this helps..
Thanks.
:)
这篇关于如何验证给出日期是在startdate和enddate之间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文