# bdeGetFinalTime

Takes `model` and returns the value stored in the final time.

## Syntax

time = bdeGetFinalTime(model)

## Inputs

`model`- Model used to get the final time.

## Outputs

- time
- The final time of the
`model`.

## Examples

Get the final time:

```
model = bdeGetCurrentModel();
time = bdeGetFinalTime(model)
```

`time = 0`