1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Date and Time Display

Discussion in 'Styling and Customization Questions' started by toodlez, Feb 5, 2016.

  1. toodlez

    toodlez Active Member

    I've got this code:

    <xen:datetime time="$resource.resource_date" />
    This only displays the date of the post, what code do I need to show date and time?

    For example instead of saying "Jan 2 2016" it wuold say "Jan 2 2016 at 3:15pm"
  2. Chris D

    Chris D XenForo Developer Staff Member

    {xen:datetime $resource.resource_date, absolute}
  3. toodlez

    toodlez Active Member

Share This Page