We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28121
    • 107 Posts


    Would anyone know why the following code keeps outputting my published date as Nov 23 2010
    on my blog preview Chunk. See attached.

    <div id="blogcalendar">
    <div id="cal_month">
    <div align="center">[[*publishedon:strtotime:date=`%b`]]</div></div>
    <div id="cal_date"><div align="center">[[*publishedon:strtotime:date=`%d`]]</div></div>
    <div id="cal_year"><div align="center">[[*publishedon:strtotime:date=`%Y`]]</div></div>
    </div>


    The actual date should be Feb 11, 2011 which is when the page was published. Interstingly, the
    actual article outputs the correct date.




      • 28121
      • 107 Posts
      Fixed this.

      I had an asterix in there

      [[*publishedon:strtotime:date=`%d`]]

      whereas I should have had a plus symbol.

      [[+publishedon:strtotime:date=`%d`]]