The deadline depends on factors including the type of ruling and when the notice of entry or a filed-endorsed copy of the judgment was served. Because missing the applicable deadline can end the right to appeal, the relevant documents and dates should be reviewed promptly.