I have a mysql users
table with column join_date
in a format "d/m/Y". I just want to update this column to a timestamp of that existed data.
id name join_date
1 john 08/02/2014
Now I need a code to run (like while loop or foreach) to update all dates data in column join_date
to a timestamp [time():] as below:
id name join_date
1 john 1391814000
Any suggestion guys? Thanks in advance.