trying to insert date in default layout