Add Native Support for .NET TimeOnly Type in ASP.NET Core TimePicker

Hello Syncfusion Team,

I’d like to request native support for the .NET TimeOnly type in the Syncfusion ASP.NET Core TimePicker and related controls.

Background:
With the introduction of the TimeOnly type in .NET 6, developers can now represent time-of-day values without a date component. This is a much cleaner solution for use cases such as scheduling, events, and scenarios where only the time is relevant.

Current Behavior:
Currently, the Syncfusion TimePicker component for ASP.NET Core only supports binding to DateTime, string, or sometimes TimeSpan. Attempting to bind directly to a TimeOnly property does not work correctly, and developers must create workaround properties and manually convert between types. This adds boilerplate code and potential for errors.

Requested Feature:

  • Allow the TimePicker (and any relevant controls) to bind directly to properties of type TimeOnly in ASP.NET Core Razor Pages.

  • Support TimeOnly both for initial value rendering and when posting back to the server.

  • Ensure two-way binding works seamlessly, similar to existing support for DateTime.

Benefits:

  • Aligns Syncfusion controls with modern .NET types and best practices.

  • Reduces the need for workarounds and extra code in the model/view.

  • Makes it easier for developers to build future-proof applications targeting .NET 6 and newer.


1 Reply

PK Priyanka Karthikeyan Syncfusion Team July 28, 2025 05:53 AM UTC

Hi Brian Rutter,


Thank you for reaching out to us. We have already considered “Provide support for DateOnly and TimeOnly type for calendar components” as a feature at our end and this support will be included in any one of our upcoming releases. We will implement the feature based on the customer request count and priority.   

  

You can track the status of the requested requirement from the below feedback link.  

  

Feedback link: https://www.syncfusion.com/feedback/45457/incorrect-format-for-dateonly

  

To make it count, please cast your vote. We will prioritize the features based on the demands of each release. If you have more specifications/suggestions on the request for the feature, you can add them to the portal as a comment.

 

Regards,

Priyanka K


Loader.
Up arrow icon