[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Putting The Date In A Variable



 Just read your msg; better a month late than never. Say, that's a great
discovery: >! Simply great. Been waiting a long time for
that. Did you figure that out all by your lonesome -- or did you see it in
{{5,Today}} {{5,Date,^DA,^TM}} and {{K,DateCust,DateCustE}} in XY4.DLG? 
Anyway, serves me right for not looking closer at your SmartSet routines.

 To take it one step further, this will get one's own personal datemask,
whatever it is, into the VAriable -- and print it to the PRompt line:

 +">>">

 Try it. (Try it in v3.55 too, Joel -- heh heh heh heh heh...)

 OK, now, I admit it: I didn't really invent (not REALLY) the next little
number either, but rather stole the formula years ago from a math book -- but
it (WEEKDAY.FRM )does a neat thing that XyWrite still won't do natively: it
determines the day-of-week (e.g. "Saturday") for any Julian date, from 1583AD
until we're all really & truly dead-dead. I've had versions of this XyWrite
routine, all based on the same math, for years; but what was, in v3.5x, a
gargantuan thing, has become under Xy4DOS a very fast and tasty little tidbit.
It serves as a riposte to Joel Houplin's notion that v3.5x is faster. Not
always! And even where faster (small files/manual tasks), not significantly!
The XPL economies under Xy4 are simply huge. If I had one version to choose,
it would be the latest -- period -- and no sentimental regrets either.

 WEEKDAY.FRM works in XyWin too... Ciao for niao

*Enclosed File: WEEKDAY.FRM