method for returning date status