View Single Post
Old 10-13-2008, 10:29 PM   #5 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Could you please explain this for me please:
PHP Code:
strtotime(sprintf('-%d days'$iDays)) 
I know how sprintf works. I just don't understand why you write "days" in there??
And same thing when you use the function, you write
PHP Code:
(strtotime('-25 days')) 
Why "days" there?? :S And why a MINUS ?? :O
__________________
Tanax is offline  
Reply With Quote