move date to var