+ Reply to Thread
Results 1 to 2 of 2

Calculating duration with strange date / time format

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel Pro 2010
    Posts
    4

    Calculating duration with strange date / time format

    I had a simple formula for working out a duration based on 2 columns of data. Each column had a date and a time in it in this format in it: "dd/mm/yyy hh:mm"

    The formula was this: "(F2-E2)*24*60*60)"

    Unfortunately now the date and time format has changed to be like this:
    "[01:02:2013][04:06:05:062]" so basicly there are now "[]" around the date and time and the time now includes seconds and milliseconds as well.

    The formula now longer works and I have tried to create a custom number format in the hope it will recognise the new format, but I cant get it work (either to accept the new format or read the date/time correctly)

    This is what i tried
    "["dd:mm:yyyy"]""["hh:mm:ss:000"]"

    Does any one have any ideas how this can be achieved please? (The milliseconds are that important)

    Thank you in advance for any help!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Calculating duration with strange date / time format

    There's probably a shorter way but this should work
    Please Login or Register  to view this content.
    If ddll is around he'll find a shorter way I'm sure

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1