Time.gmTime(3kaya) Kaya module reference Time.gmTime(3kaya)NAME
Time::gmTime - Convert a time to GMT.
Time gmTime( Int secs=now() )
secs The number of seconds since Jan 1 1970. This argument is optional and defaults to the current time.
Converts a time expressed in seconds since Jan 1 1970 to a Time.Time(3kaya) , using the GMT timezone.
Kaya standard library by Edwin Brady, Chris Morris and others (email@example.com). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free Software Foundation.
RELATED Time.Time(3kaya)Time.localTime(3kaya)Time.mkTime(3kaya)Time.time(3kaya)Kaya October 2012 Time.gmTime(3kaya)
:confused: :confused: :confused:
I have a voicemail system that runs on Unix, I am new to unix:rolleyes: . However the manual I have informs me that the unix clock loses three seconds every day, and I have to perform a sync at the end of the month. My questions are simple
1. Is this generic... (4 Replies)
Dear UNIX Folks,
I guess everyone of us like to know what sysadmin typically do during his free time.
Not what he/she likes as an hobbies.. but what activities does he/she often indulge in other than facing the monitor.
Maybe we can come up this a better stereo-typed for sysadmin.
I... (8 Replies)
Hi All :D
I have a long file having different fields like :-
I want to subtract the hh:mm:ss in line(2) from hh:mm:ss in line(1) & compare the output of substraction (obtained in... (10 Replies)
I'm trying to have a loop print out statistics every X number of seconds. How can I add a specific number of seconds to a time variable and make a comparison? Thanks ahead of time.
startTime = `date +%H%M%S`
currentTime = $startTime
executeTime = startTime + X # X is equal... (5 Replies)
Can you please help me with some shell scripting?
I have an input file input.txt
It has 3 columns (Time, Event, Value)
Time event Value
03:38:22 A 57
03:38:23 A 56
03:38:24 B 24
03:38:25 C 51
03:38:26 B 7
03:38:26 ... (7 Replies)
I know that this topic has been discuss numerous times, and I have search the net and this forum for it.
However, non able to address the problem I faced so far.
I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Host Name - xxxxxxx
IP Address - xxxxxxxxx
Alert Msg - The percentage of available storage space (DMXMemory) is low (49.54374442289481 percent).
Time received - 14:23
Time Logged - 14:55
Suggested Group - MR-UNIX (5 Replies)
I have a list of interfaces and time the interface was last active. I can't figure out how to convert the time in the second column,
Fa1/12... (7 Replies)
I am on an AIX Unix box and I am trying to search for a string in between specified lines of code when I vi a file. I can use the '/string' to search for the string through out the file, but can we only search in between specific lines.
I can use the below sed command to search for the... (8 Replies)
I have the code
I want to extract the FG=3605 parts of this. Please help. I am trying to do this using awk or unix. (5 Replies)
I know the general Logic behind it but do not know the shell programming so much.
For Example, The Time is stored in a given Variable
if the Time is 0800 then i need to extract the last digits of the number and Add it to the Remaining Digit of the Number which is multiplied by... (7 Replies)
I am looking at some practice problems from a book involving the time utility and I am a little confused on what to do. Here is what it is telling me to do:
-Compile your sort:
gcc -o sort1 sort1.c quicksort.c
-For each input file, ins.n0000, get the time to execute:
time sort1 <... (7 Replies)
I have one file which contains time for request and response.
I want to calculate time difference in milliseconds for each line.
This file can contain 10K lines.
Sample file with 4 lines.
for first line.
Request Time: 15:23:45,255
Response Time: 15:23:45,258
Time diff... (6 Replies)