Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Basic Command Line Date/Timestanp Examples

Epoch Seconds

date +%s

Timezone

date +%z

Timezone without newline

printf "%s" $(date +%z)

Timestamp Variable

#!/bin/bash

TIMESTAMP=$(date +%Y-%m-%dT%H:%M:%S)

echo $TIMESTAMP
results start