added getInfo() function
insert current date if default value is set to CURRENT_TIMESTAMP