Fixed date issue where date number was showing 0