extract date argument