Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everybody! I have to parse some information in the format Dec 9 22:41 and to get the actual UNIX timestamp in order to perform some date comparisons and calculations. ...
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    10

    How to manipulate date and time in C?

    Hello everybody!
    I have to parse some information in the format Dec 9 22:41 and to get the actual UNIX timestamp in order to perform some date comparisons and calculations. Can anyone suggest a proper way of doing such?
    I know there are lots of examples on the net, but I'm just too lazy and tired to search for them.
    Any help will be highly appreciated.

    Thanks in advance,
    Ariel

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I know there are lots of examples on the net, but I'm just too lazy and tired to search for them.
    We're not likely to rewrite those examples for you. Most of us are not too lazy and tired to do this, but just too busy to duplicate all that work that's been done already.

    Wait until you've rested up and then try searching again, ok?
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...