javascript 日期时间日历:在单个输入字段中选择日期范围

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14353337/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 21:25:52  来源:igfitidea点击:

datetime calendar : select date range in a single input field

javascriptjqueryhtmldatepickerjquery-ui-datepicker

提问by Satish Pandey

Is there a javascript datetimepicker that can selects 2 dates in a single input field. Like: enter image description here(Screenshot taken from google-analytics)

是否有可以在单个输入字段中选择 2 个日期的 javascript datetimepicker。喜欢:( 在此处输入图片说明截取自 google-analytics 的截图)

Currently we need to use 2 form input fields to select date range.

目前我们需要使用 2 个表单输入字段来选择日期范围。

Is there any free datetimepicker that provides this functionality?

是否有提供此功能的免费日期时间选择器?

采纳答案by Jason Raines