Hi Everyone, me again.
Same project and related date question:
When I CREATE a new record I would like the record field date to default to today's date. I can get other field's to default to a specific value except the date.
In my controller I have used a ViewBag (ViewBag.CURRENTDATE) to hold today's date:
In my view I have to following code:
The output is correct EXCEPT for the DATE fields??!:
Can someone show me where I went wrong?
Thanks.
Same project and related date question:
When I CREATE a new record I would like the record field date to default to today's date. I can get other field's to default to a specific value except the date.
In my controller I have used a ViewBag (ViewBag.CURRENTDATE) to hold today's date:
In my view I have to following code:
The output is correct EXCEPT for the DATE fields??!:
Can someone show me where I went wrong?
Thanks.