Adding 2 time (11:30 and 12:34) and converting the answer to interger

Discussion in 'PHP' started by vain_warm, May 21, 2006.

  1. #1
    pls help me with this problem...the result I gained from adding 2 time is a whole number...whish means adding 11:30 and 12:34 shows 23.00 which is not correct....need your input pls as soon as possible..thankyou:eek:
     
    vain_warm, May 21, 2006 IP
  2. hansi

    hansi Peon

    Messages:
    129
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hansi, May 22, 2006 IP
  3. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    #3
    The answer is wrong it should be 24 right? correct me if I am wrong... or do you meant the diffirence of 11:30 and 12:34, the question is not clear... if you can elaborate it maybe we can help
     
    PinoyIto, May 22, 2006 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Huh. I'd have thought the answer was 24:04, actually :)

    PinoyIto is right, though: why don't you show us the code you're using now and we can then tell you what you need to fix...
     
    TwistMyArm, May 22, 2006 IP