Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

runtime=$(date +\%Y\%m\%d\%H\%M\%S)

# -d date arithmetic
# Display the time described by the user friendly string, not by now.
date -d "+5 days"
date -d "+7 weeks +2 days"
date -d "last Wednesday 2 pm"
Comment

runtime=$(date +\%Y\%m\%d\%H\%M\%S)

# Time Zones
# Some z and z specifiers show the current active time zone
echo $(date '+%z'   ) # +0200
echo $(date '+%:z'  ) # +02:00
echo $(date '+%::z' ) # +02:00:00
echo $(date '+%:::z') # +02         (Print required precision only)
echo $(date '+%Z'   ) # CEST        (Alphabetic timezone abbreviation)
Comment

PREVIOUS NEXT
Code Example
Shell :: https://cloud.google.com/shell/docs/using-web-preview#previewing_the_application 
Shell :: loop clear and ls lrt command line linux 
Shell :: ubuntu upgrade versionScaricamento delle informazioni del repository non riuscito Controllare la propria connessione a Internet. 
Shell :: tcp traffic analysis linux command line mb per second 
Shell :: installed delphi package says unit not found 
Shell :: apt mailbox debian 10 
Php :: php replace space with underscore 
Php :: human readable date laravel 
Php :: var_dump not showing all 
Php :: php refresh 
Php :: install php dom extension ubuntu 
Php :: wp cron disable 
Php :: destroy session codeigniter 3 
Php :: php sigmoid function 
Php :: php rtrim comma 
Php :: check if cookie exists php 
Php :: php get string size 
Php :: php time a script 
Php :: php trim all array elements 
Php :: show error php in htaccess 
Php :: laravel migration refresh 
Php :: php version 
Php :: array to string php 
Php :: PHP Warning: require(/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/api-fase/bootstrap/autoload.php on line 17 
Php :: php password validation preg_match 
Php :: how to set no cache header php 
Php :: php replace space with dash 
Php :: laravel check if laravel query is empty 
Php :: date_default_timezone_set for india in php laravel 
Php :: set nav link active on the basis of route laravel 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =