php_date.pir - PHP date Library
DateTime::__construct([string time[, DateTimeZone object]])
- Creates new DateTime object
- NOT IMPLEMENTED.
DateTimeZone::__construct(string timezone)
- Creates new DateTimeZone object.
- NOT IMPLEMENTED.
bool checkdate(int month, int day, int year)
- Returns true(1) if it is a valid date in gregorian calendar
- NOT IMPLEMENTED.
string date(string format [, long timestamp])
- Format a local date/time
- NOT IMPLEMENTED.
DateTime date_create([string time[, DateTimeZone object]])
- Returns new DateTime object
- NOT IMPLEMENTED.
void date_date_set(DateTime object, long year, long month, long day)
- Sets the date.
- NOT IMPLEMENTED.
string date_default_timezone_get()
- Gets the default timezone used by all date/time functions in a script
- NOT IMPLEMENTED.
bool date_default_timezone_set(string timezone_identifier)
- Sets the default timezone used by all date/time functions in a script
- NOT IMPLEMENTED.
string date_format(DateTime object, string format)
- Returns date formatted according to given format
- NOT IMPLEMENTED.
void date_isodate_set(DateTime object, long year, long week[, long day])
- Sets the ISO date.
- NOT IMPLEMENTED.
void date_modify(DateTime object, string modify)
- Alters the timestamp.
- NOT IMPLEMENTED.
long date_offset_get(DateTime object)
- Returns the DST offset.
- NOT IMPLEMENTED.
array date_parse(string date)
- Returns associative array with detailed info about given date
- NOT IMPLEMENTED.
array date_sun_info(long time, float latitude, float longitude)
- Returns an array with information about sun set/rise and twilight begin/end
- NOT IMPLEMENTED.
mixed date_sunrise(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
- Returns time of sunrise for a given day and location
- NOT IMPLEMENTED.
mixed date_sunset(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
- Returns time of sunset for a given day and location
- NOT IMPLEMENTED.
void date_time_set(DateTime object, long hour, long minute[, long second])
- Sets the time.
- NOT IMPLEMENTED.
DateTimeZone date_timezone_get(DateTime object)
- Return new DateTimeZone object relative to give DateTime
- NOT IMPLEMENTED.
void date_timezone_set(DateTime object, DateTimeZone object)
- Sets the timezone for the DateTime object.
- NOT IMPLEMENTED.
array getdate([int timestamp])
- Get date/time information
- NOT IMPLEMENTED.
string gmdate(string format [, long timestamp])
- Format a GMT date/time
- NOT IMPLEMENTED.
int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
- Get UNIX timestamp for a GMT date
- NOT IMPLEMENTED.
string gmstrftime(string format [, int timestamp])
- Format a GMT/UCT time/date according to locale settings
- NOT IMPLEMENTED.
int idate(string format [, int timestamp])
- Format a local time/date as integer
- NOT IMPLEMENTED.
array localtime([int timestamp [, bool associative_array]])
- Returns the results of the C system call localtime as an associative array if the associative_array argument is set to 1 other wise it is a regular array
- NOT IMPLEMENTED.
int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
- Get UNIX timestamp for a date
- NOT IMPLEMENTED.
string strftime(string format [, int timestamp])
- Format a local time/date according to locale settings
- NOT IMPLEMENTED.
int strtotime(string time [, int now ])
- Convert string representation of date and time to a timestamp
- NOT IMPLEMENTED.
int time(void)
- Return current UNIX timestamp
- NOT IMPLEMENTED.
array timezone_abbreviations_list()
- Returns associative array containing dst,
offset and the timezone name
- NOT IMPLEMENTED.
array timezone_identifiers_list()
- Returns numerically index array with all timezone identifiers.
- NOT IMPLEMENTED.
string timezone_name_from_abbr(string abbr[, long gmtOffset[, long isdst]])
- Returns the timezone name from abbrevation
- NOT IMPLEMENTED.
string timezone_name_get(DateTimeZone object)
- Returns the name of the timezone.
- NOT IMPLEMENTED.
long timezone_offset_get(DateTimeZone object, DateTime object)
- Returns the timezone offset.
- NOT IMPLEMENTED.
DateTimeZone timezone_open(string timezone)
- Returns new DateTimeZone object
- NOT IMPLEMENTED.
array timezone_transitions_get(DateTimeZone object)
- Returns numeracilly indexed array containing associative array for all transitions for the timezone.
- NOT IMPLEMENTED.