Is there truth to what gender you'll have depending on when you have sex?

I've read if you have sex in the days before ovulation it's likely to be a girl, day of ovulation or after a boy. Our girl was definitely in the days before ovulation. Is this all just fiction!