This content has been marked as final. Show 4 replies
Look at the following to convert a String to a Date class
Once you have a Date class you can do a getTime() on the Date. This will return a long.
You can get the current time (also of type long) using System.currentTimeMillis().
Now you have two longs and you can compare them anyway you want.