Sponsored Content
Full Discussion: what,how,where...help!!!
The Lounge What is on Your Mind? what,how,where...help!!! Post 302084577 by jonin on Friday 11th of August 2006 11:12:08 AM
Old 08-11-2006
what,how,where...help!!!

it has taken me many years to realize what a load of crap bill and his army have developed through the years...i am sick to death of windows...
i really want to start operating in unix...
i just have a few questions...
is linux as powerfull as unix? which flavour of unix should i learn to use? where
can i get my hands on unix...
PS"i realize there is a faq or beginners section available...but i am in a hurry to get started...please set me in the right direction"
regards
jonin
 
DATEINTERVAL(3) 							 1							   DATEINTERVAL(3)

The DateInterval class

INTRODUCTION
Represents a date interval. A date interval stores either a fixed amount of time (in years, months, days, hours etc) or a relative time string in the format that DateTime's constructor supports. CLASS SYNOPSIS
DateInterval DateInterval Properties o public integer$y o public integer$m o public integer$d o public integer$h o public integer$i o public integer$s o public integer$invert o public mixed$days Methods o public DateInterval::__construct (string $interval_spec) o publicstatic DateInterval DateInterval::createFromDateString (string $time) o public string DateInterval::format (string $format) PROPERTIES
o $y - Number of years. o $m - Number of months. o $d - Number of days. o $h - Number of hours. o $i - Number of minutes. o $s - Number of seconds. o $invert - Is 1 if the interval represents a negative time period and 0 otherwise. See DateInterval::format. o $days - If the DateInterval object was created by DateTime.diff(3), then this is the total number of days between the start and end dates. Otherwise, $days will be FALSE. Before PHP 5.4.20/5.5.4 instead of FALSE you will receive -99999 upon accessing the prop- erty. PHP Documentation Group DATEINTERVAL(3)
All times are GMT -4. The time now is 05:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy