$LC_TIME  –  LC_TIME

$LC_TIME defines the locale category for date and time formatting.

Examples

Print name of day in English and German
1
2
LC_TIME="en_US.UTF8" date +%A
LC_TIME="de_DE.UTF8" date +%A
Output:
1
2
Thursday
Donnerstag
BashSupport Pro is a Bash and POSIX IDE with support for $LC_TIMEtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal