This is a bit weird. I need to save a timestamp into a varchar(15), the column is defined as varchar(15) and it stores the actual numeric timestamp.
So I have something like "2015-03-01 20:00:00" and it need to be saved as "1427725068". Is there any way to do so directly in mysql? Thanks