Create date selector based on vanilla Date