1. moredates.e
- Posted by don cole <doncole at pacbell.net> Aug 16, 2005
- 564 views
I cleaned up and re-uploaded my version of Moredates. I would like some people to try it and look for bugs. It has three simple routines: data={years,months,days,hours,minuets,seconds} 1) data= getTimePassed(00/00/00,00:00:00) -time after event 2) data= get_countdown(00/00/00,00:00:00) --time until event 3) day= getday(00/00/00) --returns "Monday" etc. for a date in the future. I didn't do dates for the past because I figure if the day has passed you already know what day it was. Can be used with Windows Dos Linux etc... Coments welcome, Don Cole SF
2. Re: moredates.e
- Posted by "Kat" <gertie at visionsix.com> Aug 16, 2005
- 523 views
On 16 Aug 2005, at 5:41, don cole wrote: > > > posted by: don cole <doncole at pacbell.net> > > I cleaned up and re-uploaded my version of Moredates. > > I would like some people to try it and look for bugs. I think there is a date file in archives. Your's is prolly different, you could run it against your code to see what differences it generates? Kat
3. Re: moredates.e
- Posted by don cole <doncole at pacbell.net> Aug 16, 2005
- 524 views
Kat wrote: > > On 16 Aug 2005, at 5:41, don cole wrote: > > > > > posted by: don cole <doncole at pacbell.net> > > > > I cleaned up and re-uploaded my version of Moredates. > > > > I would like some people to try it and look for bugs. > > I think there is a date file in archives. Your's is prolly different, you > could run > > it against your code to see what differences it generates? > > Kat > > There is but it I found it very complcated and difficult to use. The idea of mine is it's simple. Mine could be slower ;I haven't bench marked them. Don Cole, SF
4. Re: moredates.e
- Posted by Al Getz <Xaxo at aol.com> Aug 16, 2005
- 514 views
don cole wrote: > > I cleaned up and re-uploaded my version of Moredates. > > I would like some people to try it and look for bugs. > > It has three simple routines: > > data={years,months,days,hours,minuets,seconds} > > 1) data= getTimePassed(00/00/00,00:00:00) -time after event > > 2) data= get_countdown(00/00/00,00:00:00) --time until event > > 3) day= getday(00/00/00) --returns "Monday" etc. for a date in the future. > > I didn't do dates for the past because I figure if the day has passed you > already know what day it was. > > Can be used with Windows Dos Linux etc... > > > Coments welcome, > Don Cole > SF > Hi again Don, I took a look at your dates program and a problem came up. When i ran the demo, i got an Eu error: "can't find mylog.e in...(various directories)" After remming out 'mylog.e' it ran ok however and looks kinda neat when it's running :) Perhaps you can rem that out or include the file? I tried a few of the functions and they seemed to work ok, but there was no help file so i didnt know what you expected from all those function calls. If there was a help file that described all the function calls (or at least the main ones) i think it would be much easier to use. It might also help to list the allowable input parameters and limitations, and perhaps even what some of your goals where with this lib. Just an idea... The function "getSecToMin(atom secs)" might be faster if you replace it with some Eu's functions: function getSecToMin(atom secs) integer mins mins=floor(secs/60) secs=secs-mins*60 return (mins,secs}--sprintf too if you like. end function but i didnt know what the max secs the function might receive. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
5. Re: moredates.e
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 16, 2005
- 562 views
Hi Don, I'd suggest that you name the *.e files for you moredates specifically to match your library - for example: mydate.e > moredate.e mygets.e > moredate_gets.e Regards, Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free
6. Re: moredates.e
- Posted by don cole <doncole at pacbell.net> Aug 17, 2005
- 581 views
Hi Al , I remmed out that line it was from an old trouble shooting file , no longer needed. I think the documentation is pretty well remmed in each of the major functions. Thank you that was the kind of thing I was looking for. Hello Kenneth, and thank you . I had to keep the names short because of long file name problems with the Windows 2000 Dos version. Don Cole, SF