removed "smalldate" function and replsced with strfttime formatting