Search results for 'date()'. 1 post(s) found.
- 2007/09/13 Adding and Subtracting Time
The time () function generates a long string of numbers representing how many seconds have passed since January 1, 1970. It is possible to add and subtract time by adding and subtracting seconds.
<?php
$b = time () - 3600;
print date("D, F jS G:i a",$b) . "<br>";
?>
$b = time () - 3600;
print date("D, F jS G:i a",$b) . "<br>";
?>
You can add or subtract any amount of seconds to the time function while you create it's variable. This let's you offset minutes, hours, days or even years.
Another posts included in "PHP"
| How to remove or set time limit that defined as max_execution_time in p... (0) | 2007/09/18 |
| How to convert formatted date time string to datetime? (0) | 2007/10/12 |
| How to get reffering URL ? (0) | 2007/10/16 |
| The three simplest regular expressions you will use in PHP (0) | 2007/09/12 |
| Send email Message With PHP (0) | 2007/08/26 |
| Array_count_values (0) | 2007/08/26 |
| Calculator with basic four functions (0) | 2007/08/26 |
| Number Format (0) | 2007/08/26 |
Trackback : Cannot send a trackbact to this post.
-
Subject Buy amoxicillin online cheap amoxicillin.
2008/12/29 02:45
Buy amoxicillin without prescription.
-
Subject Amoxicillin.
2009/05/25 23:21
Amoxicillin. Amoxicillin dosage. Amoxicillin and vagina. Amoxicillin effects on a fetus. Amoxicillin side effects. Amoxicillin soar throat.
-
Subject How quickly does amoxicillin work.
2009/05/26 00:03
Amoxicillin dosage instructions.
-
Subject different money making ideas
2010/01/29 02:53
moneyideas
-
Subject different money making ideas
2010/01/29 11:41
moneyideas
-
Subject different money making ideas
2010/01/31 16:40
moneyideas

Prev

Rss Feed