This project has moved and is read-only. For the latest updates, please go here.

Is it possible to add [Date] on every new added post?

Feb 17, 2016 at 4:52 AM
I need the Date on every new uploaded post, anyone knows how to do it? Many Thanks
Dec 9, 2016 at 5:36 AM
Hi all, anyone know how to do it? thanks ^^
Dec 9, 2016 at 6:13 AM
solved, thanks all
Mar 9 at 6:58 PM
Hello,

How did you get this resolved? Thank you
Mar 10 at 2:14 AM
Edited Mar 10 at 2:27 AM
HI sensaab
I put "@article.Created" and "@article.ID" Here're my code

<a href='@Url.Action("Detail", "Home", new { id = article.SefName })'>@article.Title
size="2"> <font color=#aaaaaa>Published on: on: @article.Created
<font size="2"> <font color=#aaaaaa> color=#aaaaaa> [KBA-@article.Id]
Mar 10 at 6:24 AM
and say if you want to auto. add the publish date on the post you can modify detail.cshtml
<!-- manual added on 16/12/2016--> <br>
<div class="row"> &nbsp;&nbsp;&nbsp;&nbsp;Published on: <font size="2"> <font color=#999999>@Model.Created &nbsp;</font></font> |&nbsp; Last updated: <font size="2"> <font color=#999999>@Model.Edited &nbsp;</font></font>@* |&nbsp;Article ID: <font size="2"> <font color=#999999>KBA-@Model.Id </font></font> *@ <br> </div> <!-- end -->