i'm using GroceryCrud with a MySQL 5 DB. Am quite happy with it. My question is which is the most elegant and comfortable way of managing a DATE/TIME field inside a table. I would like to declare it a epoch integer, storing seconds passed since 1970/1/1 00:00, although this is not mandatory.
Which solution did work best for you?
- Which datatype does the MySQL field have
- Which functions to use inside GroceryCRUD's controller and model to make it easy and usable
Thanks in advance guys
[EDIT] i've seen solutions like this one, but i would prefer not to modify GroceryCRUD's core, rather than leaving it as it is.