DateTimeRangePicker

Hello, colleagues.

First, let me say great thank you for an amazing control DateRangePicker. But for our work recently needed to select a time for dates of interval. How can we do it? Do you have plans to realize DateTimeRangePicker?

Best regards,

Andrew


3 Replies

DR Deepak Ramakrishnan Syncfusion Team July 22, 2021 08:05 AM UTC

Hi Andrey,  
   
Greetings from Syncfusion support.   
   
Currently there is no support has been provided for time option in the DateRangePicker component. We have already considered this as a feature at our end and this support will be included in any one of our upcoming releases.   
   
You can track the status of this feature from the below feedback link.  
   
So, if you are providing any value it will be considered and processed the time as “12:00 AM”. If you want to get the date value along with time in start and end date value, we suggest you to provide the required time value in the start and end date value as mentioned below.  
   
import { enableRipple } from '@syncfusion/ej2-base'; 
enableRipple(true); 
 
import { DateRangePicker } from '@syncfusion/ej2-calendars'; 
/** 
 * Default DateRangePicker sample 
 */ 
 
 
    let daterangepicker: DateRangePicker = new DateRangePicker( 
       { 
          format: 'dd/MM/yyyy hh:mm a', 
          startDate: new Date(2021,1,1,1,1), 
          endDate: new Date(2021,2,2,2,2) 
       } 
    ); 
    daterangepicker.appendTo('#daterangepicker'); 

   
Please find the sample from the below link.   
 
   
Regards,  
Deepak R. 



AK Andrey Kabanets July 22, 2021 08:43 AM UTC

"... will be included in any one of our upcoming releases. "

This proposal has been created on Apr 11, 2019 7:05 AM :-(


"... time value in the start and end date value as mentioned below. "

This is "non-working crutch", this don't work for presets, we have a right result only for first selection of preset.  The time settings are dropping on second select of any preset.

In the hope of understanding,

Andrew



DR Deepak Ramakrishnan Syncfusion Team July 23, 2021 08:10 AM UTC

Hi Andrey, 
 
Sorry for the inconvenience caused. 
 
As we mentioned earlier, we will consider the feature and implement in the certain release based on the customer request count and priority. So, we will intimate you once the road map has been prepared. You can track the status of the feature from the feedback link. 
 
Please upvote this feature to make this our priority. We will prioritize the features every release, based on the user demands. 
 
Query : This is "non-working crutch", this don't work for presets, we have a right result only for first selection of preset.  The time settings are dropping on second select of any preset. 
 
  We will consider this an improvements in our end and will handle the scenario during the implementation of respective feature . We appreciate your patience until then.  
 
 
Thanks, 
Deepak R. 


Loader.
Up arrow icon