TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Paul Markham
from: Paul Edwards
date: 1994-04-15 23:16:34
subject: dates

PM>> While I was testing the program and comparing the results to the
 PM>> original dtsplit, I noticed one discrepency. If you use a date
of "01
 PM>> Jan 05", the original will treat the year as 1905 while mine will
 PM>> treat it as 2005.

 PE> Now I'll have to check that.  I'm pretty sure I asked for a "closest
 PE> rules" rule.  BFN.

Ah, the person who wrote the code thought that tm_year had the year in it.
It actually has the number of years since 1900 (from memory), so I modified
the code.  When I wrote fdt_split I copied of sdt_split, so the problem
propogated! Thanks for that.  BFN.

Paul

--- GoldED/2 2.42.G1114
* Origin: Ten Minute Limit (3:711/934)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.