Displaying 4 results from an estimated 4 matches for "timeend".
2011 Oct 31
2
lapply and Two TimeStamps as input
Dear all,
I have a function that recognizes the following format for timestamps
"%Y-%m-%d %H:%M:%S"
my function takes two input arguments the TimeStart and TimeEnd
I would like to help me create the right list with pairs of TimeStart and TimeEnd which I can feed to lapply (I am using mclapply actually).
For every lapply I want two inputs to be fed to my function. I only know how to feed one input to the lapply
Could you please help me with that?
I would lik...
2011 Oct 15
2
function for handling time
...11 7 2 13 45 0.718
[15,] 2011 7 2 13 45 6.281
[16,] 2011 7 2 13 45 11.953
[17,] 2011 7 2 13 45 17.453
[18,] 2011 7 2 13 45 22.984
I would like to write a function that will have inputs like that:
function(data, TimeStamps, timeBegin, timeEnd) {(not fixed though)
and will return the index of start and the end.
I need your help specify how the input arguments should look like (something simple and compatible with the format I have already should be good).
Then based on that two arguments, how I can search for start and end of time...
2003 Jul 11
4
module : cdr_sybase.so
...tv)
{
struct tm tm;
time_t t;
t = tv.tv_sec;
localtime_r(&t,&tm);
return tm;
}
static int sybase_log(struct ast_cdr *cdr)
{
struct tm tm, end, start, answer;
struct timeval tv;
struct timezone tz;
char *sqlcmd, timestr[128], timestart[128], timeend[128], timeanswer[128];
time_t t;
sqlcmd = (char *)malloc(2048);
memset(sqlcmd,0,2048);
start = _date(cdr->start);
end = _date(cdr->end);
answer = _date(cdr->answer);
gettimeofday(&tv,&tz);
t = tv.tv_sec;
localtime_r(&t,&tm);
strftime(timestr,128,DATE...
2023 Oct 24
0
njs-0.8.2
...nd howtos can be found here:
- Github:
https://github.com/nginx/njs-examples
Changes with njs 0.8.2 24 Oct 2023
nginx modules:
*) Feature: introduced console object. The following methods
were introduced: error(), info(), log(), time(), timeEnd(),
warn().
*) Bugfix: fixed HEAD response handling with large Content-Length
in fetch API.
*) Bugfix: fixed items() method for a shared dictionary.
*) Bugfix: fixed delete() method for a shared dictionary.
Core:
*) Feature: extended "fs" module. Adde...