Calculate expire date?

Here is my scenario:
We are working on our domain registration: registration expired in 5 years

I want to calculate the Expiration Date of our domain registration based on the Registration Date plus the Term (which 5 year)
The Term is a number and refers to the number of Year
Can some help me how to add in SQL table

my databse contain 5 table bussinessowner,contactperson,registarr,transfer,domain.

Term and expire date is under Domain table. I have a websit contain the same table name .
recently complet my class and , i can accept any feed back.
Thank you.

Sosena

Technorati Tags: , ,

Tags: , ,   Posted in Expired Domain Names

How do I set a Cookie to Expire at the change of the DAY?

I have a contest set up where I want a person to be only able to enter once a day! – So I found that I can set a cookie to expire after 24 hrs – BUT, what if i don’t want them to have to wait a full day (24hrs) just wait until the DOY changes?

What do I need to do to the .js below?

here is what I have found to get the cookie to expire after a set number of days –

BEGIN

var cname = “FormSubmitted” // name of the cookie
var data =”1″; // data to be stored(should not be null)
var cpath = “”; // path for which allowed [Optional]
var cdomain = “”; // domain for which allowed [Optional]

// Checks whether the cookie exists or not
// If it exists, it display a specified message on the page
function CheckForCookie()
{
if( ExistsCookie(cname) ) // If the cookie is found
{
// Show message
document.write(””<br /> +”The Form has already been submitted!!
+”


+”

You have already entered the contest today!


+”You may only enter the contest once a day! ”
+”

Thank You for your entry. Be sure to enter again tomorrow


+”

WBSnightout.com


+”

“);
}
}

// Checks whether the form should be submitted or not
// If the cookie exists, the form is not submitted
// if no cookie exists, a new cookie, set to expire after
// three months ,is written and the form is submitted
function CheckForm()
{
if( !ExistsCookie(cname) )
{
// Write a cookie set to expire after 90 days
now= new Date(); // get current date and time
expiry = new Date();
// Set expiry Date to 90 days from now
expiry.setTime((now.getTime() + 90*24*60*60*1000));

WriteCookie(cname,data,expiry,cpath,cdomain);

return true;
}

// The user has already clicked submit once
alert(”You have already submitted this form”);
return false;
}

// Writes the specified data to the cookie file
function WriteCookie(name,data,expiryDate,path,domain)
{
// The name and data arguments are compulsory
if( name==null || name==”" || data==null || data==”")
{
alert(”You must provide both name & data values.”);
return false;
}

var Cookie = name + “=” + escape(data)
+((expiryDate)?”; expires=”+expiryDate.toGMTString():”")
+ ((path)? “; path=” + path : “” )
+ ((domain)?”; domain=” + domain : “” );

//Set cookie
document.cookie = Cookie;
return true;
}

//Checks if the specified cookie exists or not
function ExistsCookie(name)
{
// cookies are separated by semicolons
var aCookie = document.cookie.split(”; “);
for (var i=0; i < aCookie.length; i++)
{
// a name/value pair is separated by an = sign
var aCrumb = aCookie[i].split(”=”);
if (name == aCrumb[0])
return true;
}

// a cookie with the requested name does not exist
return false;
}
I know that I can set an absolute date, but the contests usually run for 7 days, I don’t want to have to change the cookie file every day…setting an new expiration date.

If this isn’t possible, let me know…I’ll settle for the 24hr expiration.

Technorati Tags: , ,

Tags: , ,   Posted in Expired Domain Names

my domain name is about to expire with Yahoo as the host. I want to change hosts…how ?

Technorati Tags: , , , , , , , ,

Tags: , , , , , , , ,   Posted in Expired Domain Names

how can i save domain name about to expire without web site?

canceled web site want to save domain name for future use

Technorati Tags: , , , , , ,

Tags: , , , , , ,   Posted in Expired Domain Names

can i get free domain name(not expire)?

Technorati Tags: , , ,

Tags: , , ,   Posted in Expired Domain Names

A domain name I want is set to expire?

It seems that the person who has it now is not using it at all. He signed up for it on the 7th of April 2006, and has not updated it since. Now, what I want to know is how long do I have to wait until I can claim it and use it?

Technorati Tags: , , ,

Tags: , , ,   Posted in Expired Domain Names

So there is a domain name that I want and its about to expire.?

When can I buy it? On the exact expiration date? If so what timezone? Do I have to get in queue for it? Can any registrar sell it?
I tried to buy it from the owners several years ago and didn’t have the money at the time. It is unused and now they do not respond to my emails.
So 60 or 65 days after the expiration date?

Technorati Tags: , , , , ,

Tags: , , , , ,   Posted in Expired Domain Names

I had a domain name that I let expire, how can I get it back?

I tried to apply for it again and the results were: already taken. I’m not sure if someone else has it, or if it’s because I already had it. HELP ME!

Technorati Tags: , , ,

Tags: , , ,   Posted in Expired Domain Names

domain name?? account about to expire with IPOWER ?? How can I keep the name but switch to yahoo?

while I’m at it? Can someone give a brief idiot’s guide to domain names, carriers, web hosters – consolidating all of this to make it no brainer with a carrier (like yahoo????) who would be very user-friendly when it comes time to create and run a website??

Technorati Tags: , , , , , , , ,

Tags: , , , , , , , ,   Posted in Expired Domain Names

How do I know when my domain name will expire?

Technorati Tags: , , ,

Tags: , , ,   Posted in Expired Domain Names