Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

time difference

Discussion in 'Information Technology' started by Ab, Jul 28, 2006.

  1. Ab

    Ab
    Expand Collapse
    Guest

    I have made a table having a field- clockIntime and another field
    ClockOutTime --I need to know the difference between the clock in and clock
    out time in my query or report.
    Please reply ASAP
     
  2. Loading...

    Similar Threads Forum Date
    Difference between us and the Gurus? Sikh Sikhi Sikhism Dec 25, 2014
    Hinduism Difference between Sikhi and Bhakti Hinduism Interfaith Dialogues Mar 5, 2014
    Islam Difference in Bowing head in front of Guru Granth Sahib and Idol Worship Interfaith Dialogues Jun 16, 2013
    Islam What Is Difference Between Sikhism And Islam - Dr. Zakir naik Interfaith Dialogues Jun 16, 2013
    Inspirational Making a Difference: A School for Girls in Kenya Videos Mar 25, 2013

  3. Michael H

    Michael H
    Expand Collapse
    Guest

    Hi.

    Use the DateDiff function to calculate seconds. You can then use that value
    to calculate exact minutes, hours, days, etc.

    You may also want to have a look at the Diff2Dates function located here:
    http://www.accessmvp.com/djsteele/Diff2Dates.html

    -Michael


    "Ab" wrote:

    > I have made a table having a field- clockIntime and another field
    > ClockOutTime --I need to know the difference between the clock in and clock
    > out time in my query or report.
    > Please reply ASAP
     
  4. Rick B

    Rick B
    Expand Collapse
    Guest

    =(DateDiff("n",[StartTime],[StopTime]))\60 &
    Format((DateDiff("n",[StartTime],[StopTime])) Mod 60,"\:00")
    This will show it as...
    HH:MM



    You can do it as just minutes if you'd prefer...
    =DateDiff("n",[StartTime],[StopTime])




    --
    Rick B



    "Ab" <Ab@discussions.microsoft.com> wrote in message
    news:1E761490-6BF7-468C-BA54-ED4408FE4DB4@microsoft.com...
    >I have made a table having a field- clockIntime and another field
    > ClockOutTime --I need to know the difference between the clock in and
    > clock
    > out time in my query or report.
    > Please reply ASAP
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page