Displaying 4 results from an estimated 4 matches for "getday".
Did you mean:
getdag
2007 Dec 23
11
return day from date (javascript) ?
...ate 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 24
Now if i use JavaScript''s getDay() function it will return the numeric
day of the week for that day (e.g. 2 for Monday).
what i really want is the numeric day for that date, aka 24
Looked around and Javascript doesn''t have a .day element.
Any ideas how I can accomplish this in JavaScript ?
Appreciate this, really,...
2007 Apr 13
0
[961] branches/wxruby2/wxwidgets_282/swig: Move wxDateTime typemap into shared file, map to core Time class instead
...Time_t)rSecond;
+
+        $1 = new wxDateTime(d, mon, y, h, min, s, 0);
+}
+
+%typemap(out) wxDateTime& {
+ VALUE y = INT2NUM($1->GetYear());
+ VALUE mon = INT2NUM($1->GetMonth() + 1);
+ VALUE d = INT2NUM($1->GetDay());
+ VALUE h = INT2NUM($1->GetHour());
+ VALUE min = INT2NUM($1->GetMinute());
+ VALUE s = INT2NUM($1->GetSecond());
+
+ VALUE cTime = rb_iv_get(rb_cObject, "Time");
+ // $result = rb_funcall(cDateTime, rb_intern("new"), 6, y, mon, d, h, min, s);
+...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...ContextMenuItem.prototype.copy", "prototype", false],
+ ["_global.Date", "UTC", false],
+ ["_global.Date", "prototype", false],
+ ["_global.Date.prototype", "getDate", false],
+ ["_global.Date.prototype", "getDay", false],
+ ["_global.Date.prototype", "getFullYear", false],
+ ["_global.Date.prototype", "getHours", false],
+ ["_global.Date.prototype", "getMilliseconds", false],
+ ["_global.Date.prototype", "getMinutes",...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...Finite in swfdec_as_initialize.as
Improve parseInt function implementation
Add a test for parseInt function
Test number of arguments in isFinite and isNaN
Add a special case to Date making weekday Sunday if milliseconds are infinite
Expand date test to use toString and getDay methods
Some improvements to date test case
Calculate hours from floor (msecs + 0.5) in Date, other just from msecs
Enable testing for -0.5 etc. in date test
Remove context->Array and get _global.Array instead in swfdec_as_array_new
Expand array-new-override test to...