I've not worked a whole lot with datetime in SQL but I think I would just solve this by storing a long instead and use System.currentTimeMillis() to get the time and store that.

then all you need...