[DateRangePicker] Working with DateTime

Forge Component
Published on 2019-01-02 by Niels Favreau
7 votes
Published on 2019-01-02 by Niels Favreau

I've a problem using this component. I need to use Datetime variables but the component only supports Date.

Any solution for this?



Hi CDC JP Manager,

If using another component with datetime "personalized" to your case is not an option, maybe editing this component and creating an extension to it can respond to your needs.



There is an input parameter 'ShowTime'

It will add a time picker to the component.

I've managed to solve my problem by making some changes to the component. 

Thanks for your input.


How can I grab the time from Custom Ranged Date?

Hi CMateus,

The DateFormat input paramater also accepts time formats.

For example: "DD-MM-YYYY hh:mm"

Then it will return the time you've selected as-well.

Niels F.