create date time using MVC Framework