Return to Snippet

Revision: 7402
at July 22, 2008 10:38 by Caliban


Initial Code
b$ current_datetime=$(date '+%Y%m%d_%H%M%S')
b$ echo $current_datetime
20080722_162914

Initial URL

                                

Initial Description

                                

Initial Title
Define current datetime in a variable

Initial Tags

                                

Initial Language
Bash