As you can see here http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/date_and_time , the content of a attribute of type 'date and time' returns an object of type 'ezdatetype'. This object has an attribute 'timestamp' which you can use as input for the l10n operator.