|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
| |
|
| 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... |
| |
|
| |
|
| 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) |
| |
|
| |
|
| 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. |
| |
|
| |
|
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|