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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.