search for: getdate

Displaying 20 results from an estimated 28 matches for "getdate".

Did you mean: get_date
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 =&gt...
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' ma...
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
2024 Nov 01
1
Invalid term in model formula with gmm after formula.tools is loaded
Hi Aristide and welcome to R-help! Your message was a bit mangled [*]. It's best to compose messages to this mailing list in plain text. Otherwise (when composed in HTML), the mailing list eats the HTML part and we're left with the plain text part automatically generated by your mailer, which isn't always readable. ? Wed, 30 Oct 2024 17:45:29 +0100 Elys?e Aristide <ariel92and at
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/.
2024 Nov 03
1
Invalid term in model formula with gmm after formula.tools is loaded
Hi Ivan, Thank you for your message. Does that mean that I should send a new message? Or is it okay for this time? Best, Aristide On Fri, Nov 1, 2024, 22:29 Ivan Krylov <ikrylov at disroot.org> wrote: > Hi Aristide and welcome to R-help! > > Your message was a bit mangled [*]. It's best to compose messages to > this mailing list in plain text. Otherwise (when composed in
2024 Oct 30
1
Invalid term in model formula with gmm after formula.tools is loaded
Hi everyone, I am using the gmm function from the gmm package and encountered an unexpected error. No model can be estimated if I load formula.tools?I need to restart R each time. Here is a simple reproducible example: *library(gmm)data(Finance)r <- Finance[1:300, 1:10]rm <- Finance[1:300, "rm"]rf <- Finance[1:300, "rf"]z <- as.matrix(r-rf)zm
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 /us...
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 personal...
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_variable...
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 fro...
2012 Jul 12
0
HAR-RV-CJ Moedel
I am trying to write a loop to forecast realized volatility over successive days for the purpose of VaR prediction using the HAR-RV-CJ model which is as follows: log(RV_t+1) = ?_0 + ?_CD log(CV_t) + ?_CW log(CV_t-5) + ?_CM log(CV_t-22) + ?_JD log(J_t + 1) + ?_JW log(J_t-5 + 1) + ?_JM log(J_t-22 + 1) + e_t where RV is realized volatility, CV is continuous volatility and J is the jump which is