elektroshock
asked on
convert unix timestamp to regular date time
Hi all,
What would be the best way to convert a unix timestamp column in a mysql db to a regular date and time?
im new to sql so any help, links would be great
What would be the best way to convert a unix timestamp column in a mysql db to a regular date and time?
im new to sql so any help, links would be great
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thats great thank you :)
any idea on how to transform an entire column that has been moved to a new db?
the column contains all unix timestamp data but the column is now varchar
thanks again
any idea on how to transform an entire column that has been moved to a new db?
the column contains all unix timestamp data but the column is now varchar
thanks again
Hi elektroshock,
are you fine?
regarding to transform col. into new DB My idea is keep your col. type in timestamp or datetime to get validation layer from DB.
thanks
are you fine?
regarding to transform col. into new DB My idea is keep your col. type in timestamp or datetime to get validation layer from DB.
thanks
how are you,that example to convert a normal datetime to unix timestamp
this sample code to convert a unix timestamp to a regular date and time
thanks
Open in new window