printing upto date statement