---
name: "NJB_Set_Time"
section: "3"
platform: "linux"
package: "libnjb1-doc"
version: "1.1-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/NJB_Set_Time"
---

# NJB\_Set\_Time(3)

Sets the local time on the NJB

## NAME

NJB\_Set\_Time - Sets the local time on the NJB

## LIBRARY

libnjb

## SYNOPSIS

\#include \<libnjb.h\>

extern int njb\_error

int NJB\_Set\_Time(njb\_t  **\*njb**, njb\_time\_t **\*time**);

## DESCRIPTION

This function sets the time of the built-in clock of the Jukebox. The time to be set must be delivered in a  njb\_time\_t structure, see [NJB\_Get\_Time(3)](/NJB_Get_Time/3.md) for the layout of that structure.

## SEE ALSO

[NJB\_Get\_Time(3)](/NJB_Get_Time/3.md)
