Is there a predefined class, helper, etc that is to be used when creating a back-end, admin panel form? I am in the process of developing a custom module that includes several DATETIME fields and I would like to make this easier for the end-user.
How to Add Datepicker to Admin Panel Forms in Magento
adminhtmldatepicker
Best Answer
To add a form field with date and time picker in your adminhtml block:
This example is a frontend model for a product attribute, but you can use the code independently of a product attribute in any admin form.
To create a product attribute with date and time you can use an install script like: