Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > How to display publish from/to date in transformation? View modes: 
User avatar
Member
Member
wbilaro-directasia - 4/24/2012 4:32:06 AM
   
How to display publish from/to date in transformation?
I'm using news document type and I want to display the publish from/to date field within the page.

Thanks

User avatar
Member
Member
kentico_michal - 4/24/2012 5:58:21 AM
   
RE:How to display publish from/to date in transformation?
Hi,

You can use standard GetDate transformation method as shown here:

<%# GetDate("DocumentPublishTo") %>
<%# GetDate("DocumentPublishFrom") %>

Best regards,
Michal Legen

User avatar
Member
Member
wbilaro-directasia - 4/24/2012 8:35:33 PM
   
RE:How to display publish from/to date in transformation?
Awesome! Thanks a lot!