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 : undecided Is blue NOT your favorite color?  Well why not customize testmy.net to your liking?!  We offer over 25 theme variations, there is sure to be at least one that suits your personal style, choose one here cool January 07, 2009, 06:36:22 PM
testmy.net Broadband  |  Main Forum  |  HELP!  |  Programming and Website Help  |  PHP  |  Topic: Date/time script - simple Advanced search

Recommended Tests

Click here to run a free Performance Scan
  Test PC Performance:
     Click here to run a free Performance Scan
    Test PC Stability:
     Click here to run a free Registry Scan


Note: The links above are sponsored links
  0 Members and 1 Guest are viewing this topic. « previous next »
Pages 1 Go Down
Author
Topic: Date/time script - simple  (Read 2073 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: 5087


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.094 seconds with 28 queries.