I have created this script which allows me to sort a certain number of kubes by content creation date in the right way showing : DD/MM/YY : import time for items in sequence.sort(context.objectValues('Kube'), (('content_creation_date','cmp', 'desc'),)): data=items.getProperty('content_creation_date') data2=time.strptime(data,("%Y-%M-%d")) print time.strftime(("%d-%M-%Y"),data2) print items.title return printed How can I achieve the same result of the script, but within a DTML- document? (or method, or even page template) I'm not sure about what I can use there or how I can import the script correctly... -patrick _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com