1.

Solve : Determine Day of Week?

Answer»

Quote from: nothlit on January 07, 2010, 02:10:09 PM

Such LOVE, thanks for all the information and the replies.


Downloads GNU

Wait! There's more!


Don't you want the list of links with batch files the go on and on?Calculating the day of the week

Here's wikipedia's algorithm, seem to work and I think you can use it in any common language (C, C++, etc), you just need the right syntax corresponding to the language you want to get the program to do the math.Quote from: Geek-9pm on January 06, 2010, 09:48:54 PM
I was just JOKING about the new moon

BC, you are making this harder than it needs to be. Years ago I did this sort of thing in assembler. There is a call in DOS that gives you what you need to know about the current date. Don't remember what it was, but it is also somewhere in the Visual Basic library. But just invoke DATE at the port or in a batch and it tells all. Somebody else showed how to parse the strings and SEPARATE it into the components.


you can't call DOS INTERRUPTS from NT's command line, and you can't parse strings in standard DOS batch files.Quote from: Geek-9pm on January 07, 2010, 04:06:39 PM

Wait! There's more!


Don't you want the list of links with batch files the go on and on?


I enjoy free information and tools so if there is more by all means please share.


Discussion

No Comment Found