return epoch with offset.