Daisuke, the Spark-Interval-Timer uses hardware timers for folks who want accurate, interrupt-driven timers.
In your case, you may want to use bko’s NTP Time library:
You could use the time strings to compare with your user-entered time to achieve what you are looking for. 