search for: getdat

Displaying 20 results from an estimated 25 matches for "getdat".

Did you mean: getdata
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all, Rails 1.0.0 created_on is being set to 2000/01/01 00:00:00 Any ideas on this ? Thanks! Schema is create table user_login_history ( id int identity(1,1) not null, user_id int not null, created_on datetime default(getdate()) not null, created_at datetime default(getdate()) not null, updated_on datetime default(getdate()) not null, constraint pk_user_login_history primary key clustered (id), constraint fk_user_login_history_users foreign key (user_id) references users(id) ) ruby script/console >> Time.now =&g...
2008 Dec 05
2
Asterisk h323 module
...../ptclib/pldap.cxx -o /root/pwlib/lib/obj_solaris_sparc_r/pldap.o g++: language O3 not recognized g++: language O3 not recognized g++: ../common/notifier_ext.cxx: linker input file unused because linking not done cc -DSOLARIS -DP_USE_PRAGMA -D_REENTRANT -Wall -I/root/pwlib/include -c ../common/getdate.tab.c -o /root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o make[2]: cc: Command not found make[2]: *** [/root/pwlib/lib/obj_solaris_sparc_r/getdate.tab.o] Error 127 make[2]: Leaving directory `/root/pwlib/src/ptlib/unix' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/root/pwlib' m...
2011 Apr 07
2
Selecting data from list object
...;20110405", "092102"), c("20110405", "092538"), c("20110405", "093458"), c("20110405", "101124"), c("20110405", "102041"), c("20110405", "103659")) I extracted my data like this: getDate <- function(x)(unlist(x[[1]])) unlist(lapply(d, getDate)) [1] "20110405" "20110405" "20110405" "20110405" "20110405" "20110405" Isn't there an easier way to do this? Thanks, Santosh
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date eg. if account.expiry_date < getdate ''getdate'' doesn''t seem to work. anyone know what does? -- Posted via http://www.ruby-forum.com/.
2004 Sep 01
1
NEWBIE: PWLIB Build Failure
Any got experience w/ PWLIB - sorry I know it's somewhat off topic... I do not have a bison.simple file located on Fedora RC2... But when make'ing PWLIB I get ../common/getdate.y:106:1: warning: "YYPURE" redefined ../common/getdate.tab.c:43:1: warning: this is the location of the previous definition Is it safe to continue or is this a bad build?
2012 Oct 30
1
pass javascript date variable to rails controller as params
...pass as params in jquery ajax to rails controller, it is passing blank. How do I get it in rails controller successfully. Please find my code for dayclick below. dayClick: function(date, allDay, jsEvent, view) { var date = $(''#calendar'').fullCalendar(''getDate''); alert(date); $.get("<%=update_projects_admins_users_path%>", { id:''<%=params[:user]%>'', date_selected: date.getDate() },...
2007 Dec 23
11
return day from date (javascript) ?
Ok, I know this isn''t a Rails problem, but if you could help me out that''d be brill. I''ve used JavaScript to create a new Date object containing a date of my choice... mydate = new Date("11/24/2007"); //going with Javascript''s mm/dd/yyyy format now this is good, what i want to do now is put in an integer variable the number for the day, in this case
2006 Jul 17
4
Inner SELECT-s in Rails
Is there a proper way of doing inner selects in rails. Basically, I run in issues where I need the count of a query and end up using find_by_sql. I was wondering if there was any elegant way of doing such queries. Roland -- Posted via http://www.ruby-forum.com/.
2006 Feb 09
13
Howto work with a page not generated by the scaffold ?
I am a newbie Ruby and RoR user. In my tests using the turorials that I found over the web, everthing is working fine and I am very impressed about RoR framework. As I am a Delphi developer, without any web development experience, There is some thing hard to understando and I didn''t find a tutorial about this. I wonder how to create a non-scaffold page ? I have customers,
2003 Sep 04
2
build samba rpm for redhat 9
...-root/lib/security/pam_winbind.so extracting debug info from /var/tmp/samba-3.0.0rc2-root/lib/security/pam_smbpass.so extracting debug info from /var/tmp/samba-3.0.0rc2-root/lib/libnss_wins.so extracting debug info from /var/tmp/samba-3.0.0rc2-root/lib/libnss_winbind.so cpio: samba-3.0.0rc2/source/getdate.c: No such file or directory cpio: samba-3.0.0rc2/source/getdate.y: No such file or directory 18101 blocks + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /u...
2006 Jul 27
1
getdate_column
Plugin location: http://svn.kylemaxwell.com/getdate_column/ ** Won''t work on Windows ** OVERVIEW =================== Getdate_column is designed to make the accessor methods of a datetime column accept and return string representations of the date (e.g. "today", "10 days from now", "1/2/06 10pm"). I persona...
2006 Jan 19
0
db_schema_dump for SQL Server
...as :primarykey. This brings up another issue in general, within migrations if we''re not using the default "id" for primary key''s are we screwed? 3) Some default''s are not working in a way that would make sense. For instance a datetime column with a default of getdate() results in a default that looks like: :default => Sat Jan 01 00:00:00 Eastern Standard Time 2000. Are there any defaults for built in RDBMS functions such as getdate/sysdate. If not how is that handled? 4) db_schema_dump seems to blow up when ActiveRecord:: Base.connection.instance_variabl...
2004 Jul 16
2
Can't build 3.0.4 under QNX 6.1.0
I've been trying to build Samba 3.0.4 on QNX 6.1.0. 1. I downloaded the source tarball "samba-latest.tar.gz" from a mirror site. The downloading was done on an MS-Windows system. The tarball was transferred to the QNX box by loading into Emacs on MS-Windows with "M-x find-file-literally" then saving it with Emacs's ftp facility: "C-x C-w
2006 Aug 09
0
ActiveRecord provides unnecessary default value (SQL Server)
...te What I observe is that if there is no constraint on the little_date column, then the value of obj.little_date is nil (as you would expect). However, if there is a default constraint on little_date, created by something like: "ALTER TABLE XXX WITH NOCHECK ADD CONSTRAINT DF_blah DEFAULT (getdate()) FOR little_date" and I then do: obj.new obj.little_date then little_date has a value of "Sat Jan 01 00:00:00 Central Standard Time 2000" What gives? Is ActiveRecord attempting to create a default for this record since "it saw" a default constraint on the table?...
2005 Jan 11
0
AGI Application Hangup when using AGI->getdata
Before coming in here , I had a deep dig into Google and couldn't find an answer, Simply spoken, using agi->getdat in an AGI application , the call disconnects if digits are entered fast by user. I'm certain that others have been though this problem, please pour your experience here :-) . Ali Mughrabi ************************************************************************************************...
2007 Jun 25
0
[1071] trunk/wxruby2/swig/classes/include/wxCalendarEvent.h: Added missing SetWeekDay method
...uby2 license </span><span class="cx"> </span><span class="cx"> </span><span class="lines">@@ -9,6 +9,7 @@ </span><span class="cx"> public: </span><span class="cx"> const wxDateTime& GetDate() const; </span><span class="cx"> wxDateTime::WeekDay GetWeekDay() const; </span><ins>+ void SetWeekDay(wxDateTime::WeekDay day); </ins><span class="cx"> </span><span class="cx"> // override pure virtual methods fr...
2012 Jul 12
0
HAR-RV-CJ Moedel
...length(cv)] Now if I can get the lagged variables correct, how do I run the above regression so it loops over each successive day? thanks, If i am missing any vital info please advise me. thanks the loop for the data that I have used to compute RV and CV to get daily statistics is: dollar <- getdat("eurd") #dollar = dollar[seq(1, nrow(dollar), by =3), ] tim = strptime(dollar[,1], "%d/%m/%Y %H:%M"); dollar$day = format(tim, "%Y-%m-%d"); ##ddx <- row index for each day ddx = split(seq.int(nrow(dollar)), dollar$day); dollarbns = data.frame(day=as.Date(names(ddx)...
2005 Sep 26
0
[Fwd: Re: Samba with Mysql, Compilation of version 3.0.11]
...h -fPIC >>> >> Building plugin bin/fake_perms.so >>> >> Compiling modules/vfs_default_quota.c with -fPIC >>> >> Building plugin bin/default_quota.so >>> >> Compiling modules/vfs_readonly.c with -fPIC >>> >> Compiling modules/getdate.c with -fPIC >>> >> Building plugin bin/readonly.so >>> >> Compiling modules/vfs_cap.c with -fPIC >>> >> Building plugin bin/cap.so >>> >> Compiling modules/vfs_expand_msdfs.c with -fPIC >>> >> Building plugin bin/expand_ms...
2012 Jul 19
1
Switching log(J) to log(J+1) to avoid log(0) in HAR-RVJ model
I am working with xts dependent data, and my code is as follows (the problem is explained throughout): dat <- getdat("prices") dat <- read.zoo(dat, sep = "",format="%d/%m/%Y %H:%M", tz="", FUN=NULL, regular=TRUE, header=TRUE, index.column=1, colClasses=c("character", "numeric")) dat <- as.xts(dat) ## cleaned data her...
2005 Sep 21
2
Samba with Mysql, compilation problem.
First i would like to say hello to everybody here, because i am new to this ML. So here is the description of my problem: I began with a clean samba installation from the stable branch few monthes ago, everything was just fine, i have a linux box which was sharing files for another linux workstation and two WinXP laptops. The sharing linux box is a debian stable branch O/S, which is my choice