Extracting time in IOS

Discussion in 'Cisco' started by syuga2012@gmail.com, Apr 14, 2009.

  1. Guest

    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
     
    , Apr 14, 2009
    #1
    1. Advertising

  2. bod43 Guest

    On 14 Apr, 06:57, "" <> wrote:
    > 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.


    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.
     
    bod43, Apr 14, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charlie Bress

    Extracting a single file 98SE etc

    Charlie Bress, Dec 10, 2003, in forum: Computer Support
    Replies:
    1
    Views:
    362
    ┬░Mike┬░
    Dec 10, 2003
  2. moorsky
    Replies:
    1
    Views:
    1,270
    Harrison
    Dec 22, 2003
  3. Frank

    help extracting rar files

    Frank, Feb 2, 2004, in forum: Computer Support
    Replies:
    2
    Views:
    760
    Frank
    Feb 6, 2004
  4. david

    extracting game

    david, Jun 13, 2004, in forum: Computer Support
    Replies:
    6
    Views:
    492
    Blinky the Shark
    Jun 14, 2004
  5. Mike Rahl
    Replies:
    1
    Views:
    1,254
    Trendkill
    May 30, 2007
Loading...

Share This Page