Current location: Hot Scripts Forums » Programming Languages » PHP » Php time checking problem

Php time checking problem

Reply
  #1  
Old 11-03-09, 01:11 PM
abracadaver's Avatar
abracadaver abracadaver is offline
Newbie Coder
 
Join Date: Oct 2009
Location: Katy, TX
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Several ways I'm sure. Here are two:

Code:
$ten_minutes_ago = time() - 600;
Code:
$ten_minutes_ago = strtotime("-10 minutes");
-Shawn
Reply With Quote
Reply

Bookmarks

Tags
login check, php, time difference


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: PHP Parse error: syntax error, unexpected T_STRING joerg_jb PHP 3 07-29-09 02:46 PM
Does PHP Slow Down Website Loading Time? KeYBLeR PHP 7 02-17-06 08:23 PM
PHP form problem jonnekke PHP 6 10-21-05 04:51 AM
PHP script problem (please help) osmanmumtaz PHP 0 05-24-05 08:29 AM
PHP Error Fairnie PHP 8 06-26-04 08:15 AM


All times are GMT -5. The time now is 07:25 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)