title: Creating Common Custom HTML HELPER For Date Time Picker in MVC
body: <p>Is it Possible to combine input Type = Date and input type = Time in One Single Custom Helper. Below is my Short Code</p>
  
  <pre><code>TagBuilder tag = new TagBuilder("input");`enter code here`
  tag.Attributes.Add("name", datePickerName);
  tag.Attributes.Add("type", "date");
  tag.Attributes.Add("value", datePickerValue.ToString("yyyy-MM-dd"));
  
  //Code For Creating Time
  TagBuilder tagTime = new TagBuilder("input");
  tagTime.Attributes.Add("name", datePickerName);
  tagTime.Attributes.Add("type", "time");
  tagTime.Attributes.Add("value", datePickerValue.ToString("HH:mm"));
  </code></pre>