dateconvert lib and plugin