Results 1 to 2 of 2

Thread: PHP Date Difference Function?

  1. #1
    Join Date
    Dec 2007
    Posts
    123
    Thanks
    17
    Thanked 1 Time in 1 Post

    Question PHP Date Difference Function?

    Hi

    Why is not there any date difference function in the PHP library? Where they have plenty of other small functions why dont they have a basic date difference function as this is a very useful and important function?

    I know there are such functions over the internet if you google but you dont found this function in their official php.net site.

    Do you know why?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I have no clue what you just said. But I'm assuming it's asking about why php has all the little small functions in between. So I'll answer that, the functions are used for different things. So say I want to insert something into a mysql database, I may wanna use mktime().
    Jeremy | jfein.net

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
  •