← Learn
Safe
date -u +%Y-%m-%dT%H:%M:%SZ

cross-platform · bash · Beginner

Prints the current UTC time in ISO 8601 format. Without arguments that set a time, date only reads the system clock; the format string here just controls how that reading is displayed.

Think you can spot these under time pressure?

Start Training

More Linux