MySQL UDF function implemented in C++ for getting the unix timestamp of a DATETIME, TIME, DATE, TIMESTAMP field in miliseconds. Much faster than UNIX_TIMESTAMP builtin function.