Date/time script - simple - testmy.net resource / tool
Home
Welcome, Guest. Please login or register.
Did you miss your activation email?

 



donations help testmy.net pay for the very high cost to run the site. Any amount is greatly appreciated.
Click to read why...

  spcr
    
News : Before you post... try a Why don't you search? - Many simple questions have already been answered.  If your query turns up dry then post, we always have people waiting for your questions. azn August 28, 2008, 11:22:35 PM
testmy.net Broadband  |  Main Forum  |  HELP!  |  Programming and Website Help  |  PHP  |  Topic: Date/time script - simple Advanced search
  0 Members and 1 Guest are viewing this topic. « previous next »
Pages 1 Go Down
Author
Topic: Date/time script - simple  (Read 1823 times)
wmmc
Guest
« on: January 26, 2005, 10:15:12 PM »

Date only:
Code:
<?php echo date('l, F d, Y'); ?>

Time only:
Code:
<?php echo date('h:i a'); ?> or <?php echo date('g:i A'); ?>

Date/time:
Code:
<?php echo date('l, F d, Y h:i a'); ?>

Date/time: http://www.php.net/manual/en/function.date.php
Logged
CA3LE
testmy.net Patriarch
Administrator
TMN Seasoned Veteran
*
Offline Offline

Gender: Male
Posts: 5086


yep... ima g33k


View Profile WWW
« Reply #1 on: January 27, 2005, 01:47:53 PM »

PHP date() is cool Smile
Logged

Print  Pages 1 Go Up
testmy.net Broadband  |  Main Forum  |  HELP!  |  Programming and Website Help  |  PHP  |  Topic: Date/time script - simple « previous next »
Jump to:  

    
testmy.net's forum is proudly Powered by SMF | SMF © 2006-2007, Simple Machines LLC
Bookmark: Del.icio.us    StumbleUpon
 
 

 

© 1999-2008 testmy.net - Contact - Legal - Facts & FAQs
Page Loading Stats: This forum Page created in 0.084 seconds with 28 queries.