# session.last_attached_time

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.h#L1186
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-struct-session-last_attached_time/

```c
struct timeval last_attached_time;
```

## Referenced by

- [`cmd_attach_session`](/en/tmux/3.2a/reference/c-function-cmd_attach_session/) (function)
- [`cmd_new_session_exec`](/en/tmux/3.2a/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function)
- [`cmd_switch_client_exec`](/en/tmux/3.2a/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function)
- [`format_cb_session_last_attached`](/en/tmux/3.2a/reference/c-function-format-c-format_cb_session_last_attached/) (function)
- [`server_destroy_session`](/en/tmux/3.2a/reference/c-function-server_destroy_session/) (function)
