powered by
CheckEntry(ent.typ, ent.str = "")
tkentry
CheckEntry("date", "07/12/1971") ## [1] "07/12/1971" CheckEntry("date", "7/2/19uq") ## [1] "7/2/19" CheckEntry("hour", "13") ## [1] "13" CheckEntry("hour", "25") ## [1] "23"
Run the code above in your browser using DataLab