[FX.php List] [OFF] Javascript question--comparing dates

Bob Patin bob at patin.com
Thu Dec 4 12:06:47 MST 2014


Good idea, that ought to do it!

Thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

> On Dec 4, 2014, at 12:31 PM, Anderson, John A. <art at uic.edu> wrote:
> 
> Bob,
> 
> Try this simple modification to Ted's original function, (add after "var
> date1 = new Date();" to zero out the time part of the date object),
> 
> date1.setHours(0,0,0,0);
> 
> original function:
> http://jsfiddle.net/qpvugLna/1/ <http://jsfiddle.net/qpvugLna/1/> (warning, it does show the alert when you
> visit the page)
> 
> modified function:
> http://jsfiddle.net/5afeLdww/ <http://jsfiddle.net/5afeLdww/> (ditto warning)
> 
> Art

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20141204/96285ae7/attachment-0001.html


More information about the FX.php_List mailing list