www.ClassicTW.com
https://mail.black-squirrel.com/

port.updated command
https://mail.black-squirrel.com/viewtopic.php?f=15&t=25500
Page 1 of 1

Author:  Parrothead [ Sun Jan 17, 2010 4:39 pm ]
Post subject:  port.updated command

echo port.updated[currentsector] & "*"


try this

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

Author:  Promethius [ Sun Jan 17, 2010 8:14 pm ]
Post subject:  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.

Author:  Maniac [ Sun Jan 17, 2010 9:10 pm ]
Post subject:  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.

Author:  Parrothead [ Sun Jan 17, 2010 9:48 pm ]
Post subject:  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?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/