Display date & insert date in database with good format