---
name: "auparse_get_time"
section: "3"
platform: "linux"
package: "audit"
version: "4.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/auparse_get_time"
---

# auparse\_get\_time(3)

get event's time

## NAME

auparse\_get\_time - get event's time

## SYNOPSIS

**#include \<auparse.h\>**

**time\_t auparse\_get\_time(const auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_get\_time will access just the time portion of the timestamp data structure for the current event.

## RETURN VALUE

Returns 0 if an error occurs; otherwise, the valid time value in time\_t format.

## SEE ALSO

[**time**(3)](/time/3.md), [**auparse\_get\_timestamp**(3)](/auparse_get_timestamp/3.md), [**auparse\_get\_milli**(3)](/auparse_get_milli/3.md). [**auparse\_get\_serial**(3)](/auparse_get_serial/3.md). [**auparse\_get\_node**(3)](/auparse_get_node/3.md).

## AUTHOR

Steve Grubb
