dateTime to Epoch conversion