utility
date
GNU date formats a fixed epoch in UTC; -d is not portable to all date implementations.
Formal Syntax & Structure
bash syntaxbash
date -u -d "@0" +FORMATReturn Value
exit status
GNU date formats a fixed epoch in UTC; -d is not portable to all date implementations.
Working Example
Example Snippetbash
date -u -d '@0' '+%Y-%m-%dT%H:%M:%SZ'