1.change date value to int  2.creat new datebase frmaework