I’m new to Zend framework and have decided to try to build a simple app using ZF2.
I have a date that is being pulled from the database where my table gateway extends the AbstractTableGateway, this is pulling my data correctly but i’d like to format my date using Zend_Date and not manipulate the string representation myself in my model / view.
Does anybody have any ideas about how i do this?
Here is my custom datatime helper for reference:
https://github.com/AlloVince/eva-engine/blob/master/vendor/Eva/View/Helper/Datetime.php
register this helper as a invokable helper service in your module config file
Then call it in view by: