|
Answer» Hi Senior/Guru,
i NEED to compare the DATE time of current date time with the input parameter
Code: [Select]Set end_date_time=%1 set date_tm="%date:~0,10% %time%"
REM Check if current date time >= end time, STOP running, otherwise looping IF %date_tm% GEQ %end_date_time% GOTO Stop_Run but it's not working for CERTAIN time as it is compared as String.
thanks for your viewing and appreciate your helps.. have a nice day!
|