Formal:
* Comment a été votre soirée ? (How was your evening?) - This is the most formal option.
* Comment s'est passée votre soirée ? (How did your evening go?) - This is also quite formal.
Informal:
* Comment était ta soirée ? (How was your evening?) - This is more informal and used with friends or people you know well.
* Comment ça s'est passé ? (How did it go?) - This is very informal and used with close friends or family.
You can also say "How was your night?" directly:
* Comment était votre nuit ? (How was your night?) - This is a more direct way to ask, and it's perfectly fine to use it.
Important: In French, the gender of the noun "soirée" (evening) is feminine, so you need to use the feminine form of the adjective "good" ("bonne") or "bad" ("mauvaise") when asking about someone's evening.
For example:
* Votre soirée était bonne ? (Was your evening good?)
* Votre soirée était mauvaise ? (Was your evening bad?)