Hi Chaitra,
the function EwGetTime() is located within the file ewextrte.c - it should return the current time as the number of seconds elapsed since midnight 1.1.1970. If possible the real time clock should be queried in order to determinate the current time.
Please feel free to adapt the implementation of EwGetTime() to your needs and according the underlying OS / RTC driver - the provided implementation in case of a Generic Platform Package is based on embedded Linux.
Best regards,
Manfred.