I want to get date in a particular format in my batch file. I have to pass it as parameter ahead. It should work on any machine. I have seen date parsing, but that becomes machine specific. How can I do it for machine independent.
Format for example is "2014-04-29 05:22:23"
Thankyou