View unanswered posts | View active topics It is currently Mon Apr 20, 2026 2:38 am



Reply to topic  [ 4 posts ] 
 port.updated command 
Author Message
Commander
User avatar

Joined: Wed May 03, 2006 2:00 am
Posts: 1722
Location: USA
Unread post port.updated command
echo port.updated[currentsector] & "*"


try this

gives a date of 12/31/1899 if no port

_________________
Coconut Telegraph (ICQ)#586137616
Team Speak3@ 220.244.125.70:9987
Founding Member -=[Team Kraaken]=- Winner of Gridwars 2010 - Ka Pla
Image
Jesus wounldn't Subspace Crawl


Sun Jan 17, 2010 4:39 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: port.updated command
Parrothead wrote:
echo port.updated[currentsector] & "*"


try this

gives a date of 12/31/1899 if no port


That made me curious so I searched for the date, and it appears that when a date is set to NULL in some database software, that is the entry. Weird thing IMO. Someone on here probably has a lot better explanation.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sun Jan 17, 2010 8:14 pm
Profile ICQ
Lieutenant J.G.
User avatar

Joined: Sun Mar 13, 2005 3:00 am
Posts: 387
Location: USA
Unread post Re: port.updated command
Parrothead wrote:
echo port.updated[currentsector] & "*"


try this

gives a date of 12/31/1899 if no port



In the documentation of the DateTime Field which is what port.updated is stored as
the value for Zero is 12/31/1899

If this is a problem then your logic is flawed.
You will have to account for this.

You can come up with a magical # that fits all the properties that Zero currently holds.
If you can then I will turn in my nerd glasses, pocket protectors and my slide rule while I bow
down to your programming leetness.

_________________
Find out just what any people will quietly submit to and you have the exact measure of the injustice and wrong which will be imposed on them. Frederick Douglas


Sun Jan 17, 2010 9:10 pm
Profile ICQ
Commander
User avatar

Joined: Wed May 03, 2006 2:00 am
Posts: 1722
Location: USA
Unread post Re: port.updated command
Maniac wrote:


If this is a problem then your logic is flawed.
You will have to account for this.



Who said anything about a problem?

_________________
Coconut Telegraph (ICQ)#586137616
Team Speak3@ 220.244.125.70:9987
Founding Member -=[Team Kraaken]=- Winner of Gridwars 2010 - Ka Pla
Image
Jesus wounldn't Subspace Crawl


Sun Jan 17, 2010 9:48 pm
Profile ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.