Results 1 to 6 of 6

Thread: datetime

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    8

    datetime

    how to distplay?

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    how to display what?

    echo time();

    there, date and time is displayed?

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Or, if you literally want to display "datetime", then:

    Code:
    echo "datetime";
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    8
    tommorrows datetime

  5. #5
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by php_n00b
    tommorrows datetime
    Tomorrow's date:

    Code:
    echo date('m/d/Y', strtotime("+1 day"));
    However, there are 60*60*24 different possibilities for tomorrow's time. And that's just down to the second.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    Originally posted by php_n00b
    tommorrows datetime
    can't you read the manual???

    tomorrows datetime isnot very informative, you could have said tomorrows date and time. your first post didn't say anything about tomorrows time

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