Fetch discount start date and end date I have a discount 'women's day'. I have set start and end date as 8March 8AM to 8 March 8PM for this discount. In my coupon validation function, I want to check if the current time is in between 'women's day' discount start and end time or not. So I basically need a start and end time of discount.
I don't understand why do you need that..

From your question I can assume you have both the discount module and coupons module..

If using discount in general, you don't need to apply a coupon, and the discount will be applied with rules only on the dates that you put in on the default discount creation form.

The same goes for coupon creation, when creating a coupon, you can set coupon criteria as date range and that will also be applied by default in coupon validation.