Link to home
Start Free TrialLog in
Avatar of John Kratzer
John KratzerFlag for United States of America

asked on

ckermit date format

I am trying to write a batch script under ckermit 8.0.
I have the entire script complete except 1 peice.
I need to get a date into an output statement. The date format I need is in the format of MM/DD/YYYY.  The current date command under ckermit is YYYYMMDD HH:MM:SS.

Thanks in advance.
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

> the format of MM/DD/YYYY
date +%m/%d/%Y
Avatar of John Kratzer

ASKER

wesly chen,

That will work if I use it in a shell script, but it will not work in the ckermit command language.
I need one that will work under ckermit command language.
Is Ckermit a DOS style terminal emulation through serial port?
Try
date /t
I found another way around by adding an I-Descriptor to my database that pulls current date instead of me having to specify it every time.

Thanks for the help though.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial