search for: midnight

Displaying 20 results from an estimated 530 matches for "midnight".

2013 Mar 22
3
Double condition
...elp me with this small issue... I have a dataframe like this (originaly has more than 100 000 rows): > subz jul time dtime fix ddawn ddusk day 101608 15006 2011-02-01 19:14:49 19.24694 noon 7.916667 19.88333 1 101609 15006 2011-02-01 19:24:49 19.41361 midnight 7.916667 19.56667 1 101610 15006 2011-02-01 19:24:49 19.41361 noon 7.916667 19.88333 1 101611 15006 2011-02-01 19:34:49 19.58028 midnight 7.916667 19.56667 0 101612 15006 2011-02-01 19:34:49 19.58028 noon 7.916667 19.88333 1 101613 15006 2011-02-01 19:44:49 19.74694 midnight 7.91666...
2013 Dec 13
3
Minutes after midnight to time
Is there a quick function that can convert minutes (seconds) after midnight to a time? i.e 670.93 (minutes after midnight) --> 11:10:56.** I know it can be done by hand but I thought there must be a function for this already. Thank you. [[alternative HTML version deleted]]
2007 Jan 17
2
problem with unlist POSIX date at midnight
Dear R-users, I use unlist of POSIX dates to extract the year, hour etc. With that I can search for files in my database which are in the form 'yyyymmddhh_synops.txt' However, I get stucked during midnight where unlist just gives NA's. The script is given below, the problem accurs at acc.period[16] (midnight). However when I write out the character, unlist works well. But as.character(acc.period[16]) is not the solution.... begin=paste(dates[i]-1,"09:00:00") end=paste(dates[i],"...
1999 May 01
0
smb client support in midnight commander
I have implemented smb client functionality in midnight commander file manager. It is implemented in its virtual filesystem layer, just like the ftpfs and others. It mostly uses the functionality provided by the libsmb/clientgen.c in samba. The functionality of browsing for servers, showing shares on server as directories, and all read/write/erase/...
2010 Jul 13
1
Time Variable and Historical Interest Rates
Guys, I wrote to the finance mailing list earlier with my questions but was directed here. Sorry for the repeat. --------------- library(quantmod) .... now <- Sys.time() midnight <- strptime() # <---- I want to make this a static variable that will be equal to 12:00:00 am but I dont know what to put here. I keep getting NA for everything I do if(now == midnight) { getFX("EUR/USD", from = Sys.Date() -1, to = Sys.Date() - 1) write.table(EURUSD, "~...
2001 Nov 26
3
Doing things with POSIXt
Dear R-Users, I have a data file with timestamps and I wanted to use POSIXct time data type to represent the respective column. I played around with the type and found a couple of issues: * there seems to be no direct way of reading datetimes into a variable. Let's say this is my file "1992-02-27 23:03:20 PST" "1992-02-27 22:29:56 PST" "1992-01-14 01:03:30 PST"
2009 Mar 19
2
Script to softly restart Asterisk each midnight to clean locked channels
As Asterisk has inner problems and channels very often locks we have such script to restart Asterisk each midnight. We (our clients) mostly use v1.4.18.1. We can't upgrade to newer versions because there are too much changes which would brake our system (realtime/sip/iax2/cdr/etc/etc). Script soft hangups all alive channels in dirty way then kills Asterisk and starts it up. Hope it will be usef...
2006 Nov 23
1
How to kill a meet me room at midnight
Other than rebooting the server or restarting Asterisk from cron does anyone know how to kill a meetme room at midnight. Or perhaps other creative ways people deal with callers who don't hang up. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061123/7429572e/attachment.htm
2006 Apr 10
3
timeAlign
...lign function that I can use where : align by year direction -1 ==> start of this year direction 1 ==> start of next year align by week direction -1 ==> date on last sunday direction 1 ==> date on next sunday align by day direction -1 ==> time at past midnight direction 1 ==> time at this comming midnight
2009 Oct 05
6
Date-Time-Stamp input method for user-specific formats
Date-Time-Stamp input method to correctly interpret user-specific formats:coding is 90% there - based on exmple at http://tolstoy.newcastle.edu.au/R/help/05/02/12003.html ...anyone got the last 10% please? CONTEXT: Data is received where one of the columns is a datetimestamp. At midnight, the value represented as text in this column consists of just the date part, e.g. "01/09/2009". At other times, the value in the column contains both date and time e.g. "01/09/2009 00:00:01". The goal is to read it into R as an appropriate data type, where for example date ar...
2013 Jan 04
0
[LLVMdev] LLVM master could be unavailable January 8 from midnight to 6:00AM Pacific
Hello, LLVM buildbot master could be unavailable from midnight to 6:00AM Pacific on the 8th January 2013 due repair jobs. Thanks for understanding. Thanks Galina -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130104/81b06837/attachment.html>
2004 Apr 30
2
Playing with time ranges...
...lude => night_menu|17:00-24:00|Mon-Thu|*|* this gives... ... pbx.c:2962 get_timerange: 24:00 isn't a valid end time.... -- Including context 'night_menu|17:00-24:00|Mon-Thu|*|*' in context 'default' Looking at pbx.c - I'm not sure if I should change the end time (ie midnight) to either 23:59 -or- 00:00. 23:59 will work - but what happens to calls then between 23:59 and midnight? (Be nice if the people who wrote cookbook examples tested them too) -- . . ___. .__ Posix Systems - Sth Africa /| /| / /__ mje@posix.co.za - Mark J Elkins, Cisco C...
2007 Oct 08
2
Applying function to data.frame
Hi, If I have the following data.frame >y time val 1 08:00:05.834 1 2 08:03:13.345 2 3 08:10:12.443 3 > and the following function which converts the time string to the number of milliseconds since midnight > str_to_millis function( s ) { a <- as.numeric( unlist( strsplit(s,":",fixed="TRUE") ) ) m <- a[1]*3600000 + a[2]*60000 + a[3]*1000 } Then to get the time into millis since midnight I am doing this > transform( y, time=str_to_millis( as.character(time) ) )...
2010 Nov 05
2
ActiveRecords queries: .where vs .find
...d like to retrieve results on. Is there any reason why daily_stats.where(''day = Date(?)'', dte).first returns and empty set, daily_stats.find(:first, :conditions => [''date(day) = ?'', dte]) returns the correct data and daily_stats.where({:created_at => (date.midnight - 1.day)..date.midnight}).first returns the wrong data(returns data the for the day before)? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@p...
2006 Aug 01
2
making backgroundrb cron
...uch a facility) and if so, how could the configuration be done? best would be something that can be changed and added by runtime while being preserved over various starts and stops... or something of rails magic: class FooWorker < BackgrounDRb::Rails repeat_every 24.hours start_at tomorrow.midnight def do_work @logger.info ''i will appear on midnight every day from now!'' end end but since thats magic, i dont really know how that would work, but its more the rails way than an entry in backgroundrb.yml i think what do you think of it? -- Michael Siebert <info at...
2009 Jan 22
2
time date stamp since, january 1st 1970
Hello, we are receiving some data, sample below - with a weird time/date stamp format, we need some help with R on converting this time date stamp to a useable field in R, date and time in a data-frame. The developer says its the number of milliseconds since midnight, January 1, 1970. sample: *1232558018624* --------------------- How do I interpret the time stamp? Is there a date, i need a date and time. site_id,survey_id,version_id,survey_start_ts,survey_question_id,start_ts,end_ts,answer 2,registration,1,1232558018625,z1,*1232558018624*,*1232558266179*,...
2011 Aug 08
1
Funny Characters in Midnight Commander??
I'm on Centos 5.6 and I have a problem with the screen showing funny characters when I run mc in a konsole terminal window, under Xfce desktop. Here's a link to what it looks like: http://tinypic.com/view.php?pic=zojry1&s=7 Any ideas why mc is doing this? Kind Regards, Keith Roberts ----------------------------------------------------------------- Websites:
2011 Feb 04
2
terribly annoying bug with POSIXlt : one o'clock is midnight?
Apparently, as.POSIXlt takes one o'clock as the start of the day : > as.POSIXlt(0,origin="1970-01-01") [1] "1970-01-01 01:00:00 CET" > as.POSIXlt(0,origin="1970-01-01 00:00:00") [1] "1970-01-01 01:00:00 CET" > as.POSIXlt(0,origin="1970-01-01 23:59:59") [1] "1970-01-02 00:59:59 CET" Cheers -- Joris Meys Statistical
2004 Jul 15
17
VoicePulse changes
...and to provide additional redundancy for terminating calls. > >Some key points regarding this change are: > >- The new switches listed below are the latest stable branch of Asterisk >- The previous method for terminating IAX2 calls using Connect! will cease to be available > at midnight (GMT) on August 15th, 2004. >- We recommend all customers using Connect! for IAX2 termination begin using the new > configuration immediately. --------------------- Note "The previous method for terminating IAX2 calls using Connect! will cease to be available at midnight (GMT) on Aug...
2008 Jun 26
2
Oops: zfs-auto-snapshot with at scheduling
Hi all, I''ll attach a new version zfs-auto-snapshot including some more improvements, and probably some new bugs. Seriously, I have tested it, but certainly not all functionality, so please let me know about any (new) problems you come across. Except from the change log: - Added support to schedule using at(1), see README.zfs-auto-snapshot.txt - take_snapshot will only run if