It could be a good idea to be careful with the Locale upon which c.getTime().toString();
depends.
One idea is to store the time in seconds (e.g. UNIX time). As an int
you can easily compare it, and then you just convert it to string when displaying it to the user.