I have a strange something going on with my stored proc. I am passing an int into the stored proc - when i pass as the value as a epoch time the stored procedure works passing that same value as the int in milliseconds it DOES not work
passing 1360292312 (int) into FROM_UNIXTIME(fromDate) works (give the correct translation)
passing 1360292312000 (int) into FROM_UNIXTIME(fromDate/1000) does not work (not giving me what i expect)
why is that - do i need to change the type to bigINT?
See Question&Answers more detail:os