alert register and for the nth time date picker