Shell Date Usage Example

Tags:

Here are some examples to formate Date in shell
# get current time in year-month-dateThour:minuteZ format

# get the time an hour ago

# Get the date with hour == 0

#more examples