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
Format Output
Uses the same format codes as strftime. The + prefix is required.
Command
date "+%Y-%m-%d %H:%M:%S"
プレビュー
-
Date Math
Command
date -d "+1 day" "+%Y-%m-%d %H:%M:%S"
プレビュー
-