I'm selecting it from the table. I want a timestamp from oracle so that I can use date() with that timestamp. This will allow me to manipulate dates more easily in code..
I am used to mysql being able to do UNIX_TIMESTAMP(date), but is there an equivalent function in oracle?
right now, i am just using strtotime() with the date that oracle returns, but I don't think this is a great solution.