OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
PHP Code Snippets: Page loading time
By Chad ( 2002-07-12  6604 views. )
This is a good script to use if you have a page full of graphics and want to know exactly how fast it loads. It can also be used for other things I guess...
 

 
PHP Code Snippets: Display Date/Time Last Modified
By Chad ( 2002-07-12  5080 views. )
This is a really simple script for displaying the date and time that a file was last modified.

Change "filename.php" to the filename of the file you want displayed.

You can display this code anywhere for any page. (Even on the page whos date/time is being displayed)
 

 
PHP Code Snippets: Print Time Function
By Drakxter ( 2002-04-19  5435 views. )
print_time formats time and prints it using a time stamp formating string.

Ex:
echo print_time("YYYY-MM-DD", "HH:MM:SS", "Y D, H:i:s", "+1");
?>

P 1: Is data in YYYY-MM-DD format, the same way "date" fields in mysql work.
p 2: Time in HH:MM:SS format, the same as the "time" fields in mysql.
If you leave one of these empty it will use a time and date like this: 0000-00-00 and 00:00:00.
P 3: Is a string like those date() uses. Default is "F j, Y, g:i:s a".
P 4: Here you can enter a differense to GMT, like +1 or -7.

Remember to use GMT times in P 1 and P 2.
 

 
 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting


Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS Free Templates

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005