Consulting

Results 1 to 3 of 3

Thread: Solved: Time&Date Calculation and Formatting issue

  1. #1

    Solved: Time&Date Calculation and Formatting issue

    Hi Forum,

    Time/Date formatting issue I have is:

    john.doe.80010112004 (where the number represent hmmMMDDYYYY)

    mary.jane.81310112004 (where the number represent hmmMMDDYYYY)

    -----------------------------------------------------------------

    Desired output (with least formatting steps performed)

    0:13 ((hh:mm) (as the total time elapsed))

    Thanks in advance for the suggestions!

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by daemonskin1
    Hi Forum,

    Time/Date formatting issue I have is:

    john.doe.80010112004 (where the number represent hmmMMDDYYYY)

    mary.jane.81310112004 (where the number represent hmmMMDDYYYY)

    -----------------------------------------------------------------

    Desired output (with least formatting steps performed)

    0:13 ((hh:mm) (as the total time elapsed))

    Thanks in advance for the suggestions!
    =--RIGHT(LEFT(A51,LEN(A51)-8),2)/24/60/60

    and format as time
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Thanks a lot XLD!

Posting Permissions

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