Epoch timestamp in string of data

Hi I am failry new to using MariaDB however i am trying to change the extract of my data from what I believe is a varchar (in php) to date. I am using the following to get the time stamp which has been input into a field as php.this is the sql i am using "SUBSTRING(sales.obj,POSITION("transfer_time" in sales.obj)+16,10) 'Transfer Time'," is there anything i can do to changeto make the time as a format sql recognisies as date

Answer Answered by neil Martin in this comment.

I have worked this out using from_unixtime


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.