A more complicated way, but always works as well as the others suggested, you plant seed, you let it veg till it's a lil over a foot tall, take a clone of it, and put the clone to flower immediatly. Then you'll know. Get rid of the clone onced sexed. It'll be useless for anything else.