« first day (1726 days earlier)      last day (932 days later) » 

3:02 PM
@Julo0sS retrieving the data is usually done in a module called a "model"
and I would recommend having the retrieval/model code manipulate the rows you get back from the query into your ideal format, and not let your controllers or other code worry about that formatting
 

« first day (1726 days earlier)      last day (932 days later) »