Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Nothing seems to work
@item.Value("articleDate").ToString("dd MM yyyy") @item.Value<DateTime>("articleDate").ToString("dd MM yyyy")
What am I missing ?
Kind Regards
Rob
You could try sticking the value in a variable like so:
var articleDate = item.Value<DateTime>("articleDate").ToString("dd MM yyyy"); <p>@articleDate</p>
Super, that works.
Cheers :)
Hi Doogie Talons
Just tested with my version of Umbraco and works OK.
Please see image attached
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Having trouble rendering a date in umbraco 8
Nothing seems to work
What am I missing ?
Kind Regards
Rob
You could try sticking the value in a variable like so:
Super, that works.
Cheers :)
Hi Doogie Talons
Just tested with my version of Umbraco and works OK.
Please see image attached
is working on a reply...