use raw Date obj instead of unix time stamp. support sampling and regex match