p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/awk/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/share/awk/gettime.awk
# gettimeofday.awk --- get the time of day in a usable format
#
# Arnold Robbins, arnold@skeeve.com, Public Domain, May 1993
#

# Returns a string in the format of output of date(1)
# Populates the array argument time with individual values:
#    time["second"]       -- seconds (0 - 59)
#    time["minute"]       -- minutes (0 - 59)
#    time["hour"]         -- hours (0 - 23)
#    time["althour"]      -- hours (0 - 12)
#    time["monthday"]     -- day of month (1 - 31)
#    time["month"]        -- month of year (1 - 12)
#    time["monthname"]    -- name of the month
#    time["shortmonth"]   -- short name of the month
#    time["year"]         -- year modulo 100 (0 - 99)
#    time["fullyear"]     -- full year
#    time["weekday"]      -- day of week (Sunday = 0)
#    time["altweekday"]   -- day of week (Monday = 0)
#    time["dayname"]      -- name of weekday
#    time["shortdayname"] -- short name of weekday
#    time["yearday"]      -- day of year (0 - 365)
#    time["timezone"]     -- abbreviation of timezone name
#    time["ampm"]         -- AM or PM designation
#    time["weeknum"]      -- week number, Sunday first day
#    time["altweeknum"]   -- week number, Monday first day

function gettimeofday(time,    ret, now, i)
{
    # get time once, avoids unnecessary system calls
    now = systime()

    # return date(1)-style output
    ret = strftime("%a %b %e %H:%M:%S %Z %Y", now)

    # clear out target array
    delete time

    # fill in values, force numeric values to be
    # numeric by adding 0
    time["second"]       = strftime("%S", now) + 0
    time["minute"]       = strftime("%M", now) + 0
    time["hour"]         = strftime("%H", now) + 0
    time["althour"]      = strftime("%I", now) + 0
    time["monthday"]     = strftime("%d", now) + 0
    time["month"]        = strftime("%m", now) + 0
    time["monthname"]    = strftime("%B", now)
    time["shortmonth"]   = strftime("%b", now)
    time["year"]         = strftime("%y", now) + 0
    time["fullyear"]     = strftime("%Y", now) + 0
    time["weekday"]      = strftime("%w", now) + 0
    time["altweekday"]   = strftime("%u", now) + 0
    time["dayname"]      = strftime("%A", now)
    time["shortdayname"] = strftime("%a", now)
    time["yearday"]      = strftime("%j", now) + 0
    time["timezone"]     = strftime("%Z", now)
    time["ampm"]         = strftime("%p", now)
    time["weeknum"]      = strftime("%U", now) + 0
    time["altweeknum"]   = strftime("%W", now) + 0

    return ret
}
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
September 29 2025 07:00:09
0 / 0
0755
assert.awk
0.373 KB
June 28 2017 21:52:45
0 / 0
0644
bits2str.awk
0.319 KB
June 28 2017 21:52:45
0 / 0
0644
cliff_rand.awk
0.3 KB
June 28 2017 21:52:45
0 / 0
0644
ctime.awk
0.228 KB
June 28 2017 21:52:45
0 / 0
0644
ftrans.awk
0.31 KB
June 28 2017 21:52:45
0 / 0
0644
getopt.awk
2.185 KB
June 28 2017 21:52:45
0 / 0
0644
gettime.awk
2.433 KB
June 28 2017 21:52:45
0 / 0
0644
group.awk
1.75 KB
June 28 2017 21:52:45
0 / 0
0644
join.awk
0.369 KB
June 28 2017 21:52:45
0 / 0
0644
libintl.awk
0.232 KB
June 28 2017 21:52:45
0 / 0
0644
noassign.awk
0.415 KB
June 28 2017 21:52:45
0 / 0
0644
ord.awk
0.915 KB
June 28 2017 21:52:45
0 / 0
0644
passwd.awk
1.171 KB
June 28 2017 21:52:45
0 / 0
0644
quicksort.awk
0.999 KB
June 28 2017 21:52:45
0 / 0
0644
readable.awk
0.48 KB
June 28 2017 21:52:45
0 / 0
0644
rewind.awk
0.395 KB
June 28 2017 21:52:45
0 / 0
0644
round.awk
0.646 KB
June 28 2017 21:52:45
0 / 0
0644
strtonum.awk
1.428 KB
June 28 2017 21:52:45
0 / 0
0644
walkarray.awk
0.209 KB
June 28 2017 21:52:45
0 / 0
0644
zerofile.awk
0.414 KB
June 28 2017 21:52:45
0 / 0
0644