Few method written for Date component