Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get current timestamp shell

// If you want to get unix timestamp, then you need to use:
timestamp=$(date +%s)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #timestamp #shell
ADD COMMENT
Topic
Name
5+7 =