Date Picker Widget Without Time

Hello! I was wondering if it’s possible to omit the time selection in the date picker widget. I see that datetime is the datatype available for connector functions. Is there a way to work around this or a different way to input just date as a variable?

Thanks!

1 Like

hello @aparnaalavilli, thanks for your question!!

an alternative to using the datepicker widget is to use individual inputs for the day/month/year and then convert over to a date without time using the PARSE_DATETIME_TZ() function.

for example, I have a text input for each of the elements:

which can then be parsed into a date:

resulting app:

the Formatted Date variable can then be used in the connector function. more information on the PARSE_DATETIME_TZ() function can be found here: Technical Details of the Expression Editor | Tulip Help Center - Support for Building Manufacturing Apps.

let us know if you have further questions!!

1 Like

Thank you! A feature request could be to add an alternative date widget without the time input. Having the three dropdowns and a button to enter date would be quite cumbersome, and having the calendar view to select a day is a nice feature. I appreciate the alternative solution though! Thanks again!