Added getTransactionDate method

Changed the DateProvider instantiation logic to guarantee single instance.