Get number of days in array in between two time stamp

Discussion in 'PHP' started by Subikar, May 1, 2007.

  1. #1
    Hi friends I need an urgent help from you all if the function available that will be better for me

    Suppose I have two time stamp

    $StartDate = TimeStamp of starting date 0 hour, 0 min, 0sec format
    $EndDate = TimeStamp of Ending Date

    Now I will pass both of the date in a function and it will return an array of dates

    Like this ways Arrayofdate = (
    '0'=> TimeStamp of starting date 0 hour, 0 min, 0sec format
    '1'=> TimeStamp of starting date + 24hr time stamp
    '3' => TimeStamp of starting date + 24hr time stamp + 24hr time stamp

    ................................... In this way it will go on upto end date
    );

    I need this help as soon as possible so please help me I am busy on writting code.

    Thanks in Advance
    Subikar
     
    Subikar, May 1, 2007 IP
  2. Subikar

    Subikar Active Member

    Messages:
    241
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Thanks it is done
     
    Subikar, May 1, 2007 IP