54.196.72.162 |    

Navigation

Google Advertisement

All snippets of the tag date

1-6 of 6 Entries

last day of last month
(Bash::Snippets)
Created by Marko Schulz at 2016-02-24 10:19:16
# Last day of last month date -d "1 day ago $(date +%b) 1" +%d.%m.%Y # Last Sunday date -d "last Sunday" +%d.%m.%Y # Tomorrow date -d "tomorrow" +%d.%m.%Y date -d "next day" +%d.%m.%Y # 5 days ago date -d "5 days ago" +%d.%m.%Y # Yesterday...

rfc2822Toiso8601
(PHP::Function)
Created by Marko Schulz at 2012-08-30 14:35:15
/** * This function convert a rfc2822 date format (e.g. Thu, 30 Aug 2012 14:28:25 +0200) * into a iso8601 date format (e.g. 2012-08-30T14:28:25+02:00). * * @param string $date - The date sting * @return string */ function rfc2822Toiso8601($dat...

date
(Perl::Function)
Created by Marko Schulz at 2010-01-20 13:51:05
sub date { my @days = ('Sonntag','Montag','Dienstag','Mittwoch', 'Donnerstag','Freitag','Samstag'); my $time = time() ; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time+($tzone*3600)) ; $mon = $mon+1 ; ...

date2time
(Perl::Snippets)
Created by Marko Schulz at 2010-01-20 13:44:25
#!/usr/bin/perl # required perl package... use POSIX qw(strftime); print date2time( '2007-08-17 10:45:22' ); # ************************************************************ # convert date string ot unix time (2005-06-16 10:00:00 => 1118916000)...

date
(Perl::Snippets)
Created by Marko Schulz at 2010-01-20 13:44:00
#!/usr/bin/perl # Example: 2009-09-23 17:01:25 print date( "%Y-%m-%d %H:%M:%S" ); # ************************************************************ # Return the current time in the given FORMAT. # # FORMAT controls the output. # # %a => Sun ...

date
(Python::Function)
Created by Marko Schulz at 2008-12-27 02:50:22
def date( format ): """date --- Get the current date by strftime format. (string) string date( (string) format )""" from time import strftime return strftime(format)

1-6 of 6 Entries
Search
 
Full text search by name and content of a snippet.

User online
There are 3 users online.

Tags Cloud

Latest snippets
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)
STDERR
(Bash::Function)
radius
(CSS)
shadow
(CSS)
rotate
(CSS)
create_function
(JavaScript::Snippets)