I'd like to **hard-code DateTime.Now** (on the front end) **when a new record is created**. However I don't want to see the fields as they're not going to need input. Using the code listed below I'm throwing "*Object reference not set to an instance of an object.*" 

**Controller**:

```
[HttpPost]
public ActionResult Create(tbl_one tbl_one)
{
    if (ModelState.IsValid)
    {
        db.tbl_one.Add(tbl_one);
        db.SaveChanges();
        return RedirectToAction("Index");  
    }

    return View(tbl_one);
}

```

**Model**:

```
public System.DateTime Created { get; set; }

```

**View**:

```
<div class="editor-field">
    @Html.HiddenFor(model => model.Created, Model.Created = DateTime.Now)
    @Html.ValidationMessageFor(model => model.Created)
</div>

```