|I just wanted to add something more here, it seems that Saystatic was giving the wrong %date% format as I am in the UK the %DAY% AND %MONTH% were being given incorectly as it is useful also for giving the DATE I found a piece of code here!|
So this is my amendment to my TIME.BAT file.
Users in other countries may have to swap the A,B,C, vars around also (IF NOT USING SayStatic).
@For /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do @(
:: SayStatic This is a Server Status Message.
SayStatic Today's Date is: %Day%/%Month%/%Year% United Kingdom.
echo Today's Date is: %Day%/%Month%/%Year% UK Format
echo %All% United Kingdom.
SayStatic The Time is %TIME% Greenwich Meantime.