Timestamp Converter

Linux date Command Generator

Pick a target date and get the exact commands to set your system clock, format output, or do date math in the terminal.

Set System Date

pick a date and time, get the commands

Format Output

build a date +FORMAT command
Uses the same format codes as strftime. The + prefix is required.
Command
date "+%Y-%m-%d %H:%M:%S"
Önizleme
-

Date Math

relative date calculations in Bash
Command
date -d "+1 day" "+%Y-%m-%d %H:%M:%S"
Önizleme
-

Set Timezone

pick a timezone, get the command

Quick Reference