Answers for "date in unix_timestamp"

1

php datetime object get unix timestamp

$date = new DateTime();
echo $date->getTimestamp();
Posted by: Guest on April-01-2020
0

unix timestamp bash

date +%s 

# Give the number of seconds since epoch
Posted by: Guest on May-16-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language