For reasons that are too obscure to get into, I have a millisecond representation of a specific time and I have a mysql database filled with mySql Timestamps and I'm curious if it's possible to just do native comparisons in sql such as select * from myTable where time_stamp_column > 1264665600000;
or something along those lines.
I've been running some tests and the results are pretty strange. It doesn't complain but returns row that don't fit the criteria.
Thanks in advance.
[EDIT] Ok if using milliseconds in mySql is a non-starter, what's the best way to compare the dates, assuming I'm starting out in millis and am in java.