Hi,
I am trying to import data from an old database which stored timestamps
as int fields. I am looking for a way of turning them into a datetime
field created_at.
Let’s say for example that I have
OldArticle.time # BigNum 1111111111
And I would like:
NewArticle.created_at = ???(Old.Article.time)
How can I do that?
By the way, should I use timestamps or datetimes for created_at and
updated_at fields? I found both…
Thank you a lot!
Nauhaie