add ilib and format/convert date