On Sep 18, 1:35 pm, cappy <[EMAIL PROTECTED]> wrote:
> I need to create a form which the user enters a date and the js
> displays the fourth Saturday after that date.

This really doesn't need to be jquery-related. You can use any old
date library, like mine at:
http://www.javascripttoolbox.com/lib/date/

For example,

var userDate = Date.parseString("09/18/2008"); // Get your date string
from somewhere
userDate.add( "d", 6-userDate.getDay() ); // Advance to saturday
userDate.add( "d", 21 ); // Go 3 more weeks
alert(userDate.format("M/d/y"));  // You should do something more
useful than alert!

Hope that helps,

Matt Kruse

Reply via email to