Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kieron 152 posts 390 karma points
    Sep 07, 2018 @ 11:56
    Kieron
    0

    What is the name of the Publish Date variable?

    Hi guys, when using Umbracos built-in scheduling via the Info tab, how do I print out that Start Time?

    I see that there is createDate available, but I assumed that would be the date that the item is created, not published?

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Sep 07, 2018 @ 12:06
    Dan Diplo
    100

    updateDate is the date the item was last published. So...

    @Model.Content.UpdateDate
    

    or

    @Umbraco.Field("updateDate")
    

    Would print the last updated date.

Please Sign in or register to post replies

Write your reply to:

Draft