improved date selector