FuelPHP framework jQuery DateTimePicker

I have recently started learning about the FuelPHP framework. I have been working on understanding how to use the framework as intended by the creators, and I think I’m doing a fair job of that, except possibly with regards to using external jQuery libraries.

I have a simple CRUD application that I built as a proof of concept for using a third party jQuery DateTimePicker library.

This is the jQuery DateTimePicker library that I found and used.

This is not including the public asset folder that contains the actual Javascript and CSS.

Model
fuel/app/classes/model/dtpsample.php

View Template
fuel/app/views/template_dtpsample.php

I want to specifically point out this piece of code. The main thing to notice is Asset::js and the JavaScript code.

Screenshot of the DateTimeStamp picker on the page.

Views
fuel/app/views/dtpsample/_form.php

Controller
fuel/app/classes/controller/dtpsample.php

VBScript, Javascript for JSON from SQL Server