Most fairy tales begin with 'once upon a time' or 'a long time ago', and end with telling the reader that the characters 'lived happily ever after'.
Fairy tales are often set in the past, but not in a defined period of history, and they usually have a happy ending where the hero triumphs over adversity.