Extracting time in IOS

Hi Folks,

I have to fill an array of chars with the time value.

The values required are milliseconds, seconds, minutes, hours, day of week, month of year and year value.

04:33:31.860 Apr 14 09 should be converted into hex for each field and put as a sequence of bytes.

Appreciate if someone could help me with how this can be done on IOS.

Thanks, syuga

Reply to
Loading thread data ...

I presume you mean in TCL in IOS. I would ask somewhere where they do TCL if no better response than mine here.

Sounds like homework, or maybe you got the job at cisco that I didn't get:-(

Was fun seeing Game of Life running in an IOS console in dynamips.

Reply to

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.