Constructor
datetimes
datetimes
()
void
construct_timezone_pulldown
([ $pulldowntype = 'registration'], [ $variableinfo = ''])
-
$pulldowntype
-
$variableinfo
void
construct_user_timezone_pulldown
()
void
date_compare
( $a_year, $a_month, $a_day, $b_year, $b_month, $b_day)
-
$a_year
-
$a_month
-
$a_day
-
$b_year
-
$b_month
-
$b_day
void
date_valid
( $year, $month, $day)
void
days_in_month
( $month, $year)
Function to fetch the day of the week based on a supplied date argument.
- = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday
void
day_of_week
( $year, $month, $day)
void
day_of_year
( $year, $month, $day)
void
fetch_datetime_fromnow
( $days)
void
fetch_datetime_from_timestamp
( $timestamp)
Function to fetch the date in the past based on a supplied days argument
void
fetch_date_ago
([ $format = 'Y-m-d'], $days)
void
fetch_date_fromnow
( $days)
void
fetch_days_between
( $m1, $d1, $y1, $m2, $d2, $y2)
void
fetch_timestamp_from_datetime
( $datetime)
void
gmtdate
( $localtime)
Function to determine if today's day is a business day (ie: sat & sun will return false)
void
is_business_day
()
void
is_leap_year
( $year)
void
localdates
( $localtime)
void
timezone_convert
([ $conv_fr_zon = 0], [ $conv_fr_time = ''], [ $conv_to_zon = 0])
-
$conv_fr_zon
-
$conv_fr_time
-
$conv_to_zon
void
time_compare
( $a_hour, $a_minute, $a_second, $b_hour, $b_minute, $b_second)
-
$a_hour
-
$a_minute
-
$a_second
-
$b_hour
-
$b_minute
-
$b_second
void
time_valid
( $hour, $minutes, $seconds)