# getCurrentRegime

> Returns the operating regime in force at at (default now): the entry with the latest effectivefrom not after at, compared as instants. Returns undefined when no regime has started yet.

> **getCurrentRegime**(`well`, `at?`): `OperatingRegime` \| `undefined`

Returns the operating regime in force at `at` (default now): the entry with
the latest `effective_from` not after `at`, compared as instants. Returns
`undefined` when no regime has started yet.

## Parameters

### well

`Well`

### at?

`Date` = `...`

## Returns

`OperatingRegime` \| `undefined`
