+ Reply to Thread
Results 1 to 2 of 2

How do I convert a time format to a double

  1. #1
    DMB
    Guest

    How do I convert a time format to a double

    I use a function to calculate the hours worked based on time

    12:00pm to 4:00pm is 4.0 hours

    when I get the number for hours worked it is in time format / .27398237 I
    need the number 4 so that I can do my calculation. How do I convert it to a
    number?

  2. #2
    Peo Sjoblom
    Guest

    Re: How do I convert a time format to a double

    Multiply with 24 and format as general


    --

    Regards,

    Peo Sjoblom

    "DMB" <DMB@discussions.microsoft.com> wrote in message
    news:552FAD83-E8D4-4573-B9FF-613DDD259C22@microsoft.com...
    > I use a function to calculate the hours worked based on time
    >
    > 12:00pm to 4:00pm is 4.0 hours
    >
    > when I get the number for hours worked it is in time format / .27398237 I
    > need the number 4 so that I can do my calculation. How do I convert it to

    a
    > number?




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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