- Joined
- Sep 11, 2002
- Messages
- 1,495
- Reaction score
- 0
Had a question, is the following LOGIC a valid "correction" for the registry auto-renew date in the Internic.net whois?
Simplifying this, it becomes:
Does that body of logic correct the expiration date in all scenarios? Do any scenarios fall outside of this that anyone knows of?
~ Nexus
Code:
[color=navy][b]CORRECTS for Registry Renewed Expire Date:
{
if (TODAYsDATE is before EXPIREDATE) then keep EXPIREDATE
if (STATUS equals PENDINGDELETE or REDEMPTION) then keep EXPIREDATE
if (STATUS doesn't equal PENDINGDELETE or REDEMPTION) and
(TODAYsDATE is after EXPIREDATE) then minus 1 year from EXPIREDATE
}[/b][/color]
Code:
[color=navy][b]CORRECTS for Registry Renewed Expire Date:
{
IF (STATUS doesn't equal PENDINGDELETE or REDEMPTION) and
(TODAYsDATE is after EXPIREDATE) then minus 1 year from EXPIREDATE
OTHERWISE keep EXPIREDATE
}[/b][/color]
~ Nexus