create module for date type