23 Jun
2001
23 Jun
'01
3:51 p.m.
I want to use DateTime on a date value returned in a ZSQLMethod. E.g. Say the SQL for get_records() ZSQLMethod is SELECT ID, adate FROM DateValues I want to do something like this: <dtml-in expr="get_records()"> <dtml-var ID> <dtml-var expr="_.DateTime(adate).strftime('%d-%b')"> </dtml-in> I have tried all sorts of syntax to get a result, with no result. Question 1: Can someone tell me the correct syntax please? Question 2: Can someone 'teach me to fish' by showing me the path to some documentation on namespaces? I have searched and read a fair amount today without actually getting enlightenment:-( Thanks a lot Neil