18.191.43.140 |    

Navigation

Google Advertisement

Get previews day from a defined date

prev_date
  1. # ******************************************
  2. # get previews day from a defined date...
  3.  
  4. function prev_date() {
  5.  
  6. local date=$1
  7. date -d "$date 1 day ago" +%Y-%m-%d
  8.  
  9. }
Parsed in 0.002 seconds at 96.43 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 1 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)