kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: shafi.kernel@gmail.com (Mohammed Shafi)
To: kernelnewbies@lists.kernelnewbies.org
Subject: kernel API's regarding time conversions
Date: Mon, 4 Apr 2011 17:17:42 +0530	[thread overview]
Message-ID: <BANLkTi=fAaV=+ypEZauL2nmh2ZTh2mwurg@mail.gmail.com> (raw)

Hi all,
             Is there some kernel API's(like jiffies_to_msecs) already
available for any of the following:
1.millisecs_to_seconds
2.seconds_to_minutes
3.minutes_to_hours
4.hours_to_days
5.days_to_months
6.months_to_years

sorry if its a basic question.
thanks in advance,
shafi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110404/474b199c/attachment-0001.html 

             reply	other threads:[~2011-04-04 11:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 11:47 Mohammed Shafi [this message]
2011-04-05 10:56 ` kernel API's regarding time conversions Mohammed Shafi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=fAaV=+ypEZauL2nmh2ZTh2mwurg@mail.gmail.com' \
    --to=shafi.kernel@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).