By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!My take, for whatever it's worth: %DATE% exists only for compatibility with CMD.EXE batch files — it's otherwise pointless and redundant — so it makes sense that it should emulate CMD.EXE as closely as possible, even to the leading zero. DATE /T is more a convenience for interactive use at the prompt, so there's far less need for it to exactly match CMD.EXE's behavior. I think the present, leading-zero-suppressed format is more esthetically pleasing; but of course others might disagree about that.
CMD uses its own formatting (i.e., not what the locale or the user specified). Is that a good thing?