/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
b$ current_datetime=$(date '+%Y%m%d_%H%M%S') b$ echo $current_datetime 20080722_162914