replaced epochparse with datetime_to_epoch()