DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+2 =
Submit