A hang nail isn't really a nail, it's a small piece of torn skin near a nail.  They're usually caused by dry skin or nail biting, so can appear at any time.
Where do 'hang nails' come from? One hour your nail look fine and then BOOM, a hang nail magically appears!??