I want to get the expiration time of a product of webpage and change it to unix time using javascript date methods....
var expiration = document.querySelector('span#bigDealTimer1');
//with this selector I can get the time-counter.
expiration = expiration && expiration.innerText;
how can i change the expiration time in the span to unix Time ? (time is decreasing to zero)