Talk to us today

Sri Lanka
  • 40/2/21, Chakkindarama Rd,
    Ratmalana,
    10390,
    Sri Lanka
Connect
Close

HTML 5 Date Time Fields

HTML 5 Date Time Fields

SilverStripe has powerful classes to manage date times. SS_Datetime gives a lot of features. But SilverStripe DateTimeField which returns a composite of the Date field and the time field just returns a text field as the time field. We wanted to take this forward and to use HTML 5 Calendar fields and the Time field for SilverStripe. 

We made three fields one is an HTML5 time field, and one is a time dropdown field where you can specify the start time, the end time and the interval in minutes, and a HTML5 date field. 

Check our git repos, and use composer to install for your website. 

https://github.com/SilverStripers/silverstripe-timefield