Added new method to get Start and end epochtime.