Results 1 to 6 of 6

Thread: [RESOLVED] PHP DateDiff()

Threaded View

  1. #1

    Thread Starter
    Fanatic Member modpluz's Avatar
    Join Date
    Sep 2005
    Location
    Lag, NG
    Posts
    633

    Resolved [RESOLVED] PHP DateDiff()

    please can anyone help me on how to check the difference(in days) between two dates.
    say like checking the day difference between yesterday and today.
    PHP Code:
    function date_diff($date1$date2){

    //i'm stuck here...
    //some code please...

    return $diff

    thanks in advance
    Last edited by modpluz; Apr 21st, 2006 at 06:41 AM.
    If you want the rabbit to hop, move the carrot - Paul Kellerman(Prison Break)

    onError GoTo http://vbforums.com



    My Bits:
    VB6: Change Column Name in MS ACCESS

Posting Permissions

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



Click Here to Expand Forum to Full Width