This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_DATE_SHELL

Enable date shell

Type: bool

Help

This shell provides access to date and time based on Unix time.

Direct dependencies

POSIX_CLOCK && SHELL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At subsys/shell/modules/Kconfig:35

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:45subsys/shell/Kconfig:237

Menu path: (Top) → Sub Systems and OS Services → Shell

config DATE_SHELL
    bool "Enable date shell"
    default y if !SHELL_MINIMAL
    depends on POSIX_CLOCK && SHELL
    help
      This shell provides access to date and time based on Unix time.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)