Thanks everybody,
I have a working solution now.
I find it amazing that these advanced features were there all time.
DZo
Search found 3 matches
- 10 Jan 2008 09:44
- Forum: DOS Batch Forum
- Topic: Can I calculate a date?
- Replies: 8
- Views: 21100
- 08 Jan 2008 05:52
- Forum: DOS Batch Forum
- Topic: Can I calculate a date?
- Replies: 8
- Views: 21100
Calculate with dates
Hello DosItHelp, I understand your suggestion, but it does not work totally well. I have set the echo on and have seen what happens: The first function returns a Julian date of 2454466 for 8 Jan 2008, whereas the real Julian date should be 2454473.5. If I call the second function with argument 24544...
- 07 Jan 2008 09:21
- Forum: DOS Batch Forum
- Topic: Can I calculate a date?
- Replies: 8
- Views: 21100
Can I calculate a date?
Is it possible in a batchfile to calculate a date as today+3weeks? Or today + 2 days? I have already a syntax that puts the current date in an variable, but I think I need a kind of calendar function to manipulate. I need this 'date' to be a part of a copy command. Does anyone have a solution? Thank...