Subj : Daynbr
To : Dallas Hinton
From : mark lewis
Date : Mon Aug 27 2012 03:50 pm
DH> I'm looking for either source code for daynbr.exe, or (even better)
DH> a winodws 32/64 bit version. I know of daynbrw.exe, but it doesn't
DH> have a full commandline set of instructions, so doesn't work for
DH> what I want. Appreciate any help in this direction!
i have never seen sources for the dos daynbr tool... however, it isn't really
needed if you have something (ie: 4DOS/4OS2/4NT) that can generate the
dayofyear number... some folks mistakenly call this the julian day number...
in any case, the best thing i like about daynbr is that it is easy to denote
the number @### and doesn't require something like %_DOY% which really isn't
all that bad... another positive is that it can do some rudimentary math on the
doy number, too... i have, somewhere around here, replicated most all of this
in 4DOS bat/btm files but i haven't seen it in a very long time... might be
easier to just write a replacement from scratch :?
speaking of writing from scratch, if you do pascal, then you might want to look
at FPC (FreePasCal) which is cross-platform and multi-bits... i'm pretty sure
they have some library code that can (easily?) handle this and even the maths
stuffs :)