Add a new field "timetype". Add the sql and language files for the new field.
Change the function "stringToUnix" to "stringToDateObject". Now the function return a DateTime object instead of a unix timestamp.
Change the SQL handling. The Database will check a time object instead of a unix timestamp. Now it is possible to check explicied on dates or times.