Definitions of overnight:

  • adjective:   lasting through or extending over the whole night
    Example: "An overnight trip"
  • adverb:   happening in a short time or with great speed
    Example: "These solutions cannot be found overnight!"