calenader to local var