fix order of variables in myDateCb for Windows/VS