| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 546 lines (13 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
vt_DateTime:: (28 methods):
vt_DateTime()
getTodayDatetimebyIndex()
getThisweekDaysbyIndex()
getThismonthDaysbyIndex()
getThisyearMonthsbyIndex()
getHourendtime()
getDayendtime()
getMonthendtime()
get_Date()
getmonthName_inshort()
getMonth()
getYear()
getDaysInMonth()
getmonthName()
getdayofWeek()
getdayofWeek_inshort()
setDateTime()
getDateTime()
get_formatted_date()
get_userTimezone_formatted_date()
get_DB_formatted_date()
get_formatted_time()
get_changed_day()
get_first_day_of_changed_week()
get_first_day_of_changed_month()
get_first_day_of_changed_year()
get_date_str()
getThisMonthsDayByIndex()
Class: vt_DateTime - X-Ref
| vt_DateTime(&$timearr,$check) X-Ref |
| Constructor for vt_DateTime class param: array $timearr - collection of string param: string $check - check string |
| getTodayDatetimebyIndex($index,$day='', $month='', $year='') X-Ref |
| function to get date and time using index param: integer $index - number between 0 to 23 param: string $day - date param: string $month - month param: string $year - year |
| getThisweekDaysbyIndex($index) X-Ref |
| function to get days in week using index param: integer $index - number between 1 to 7 |
| getThismonthDaysbyIndex($index,$day='', $month='', $year='') X-Ref |
| function to get days in month using index This function will be deprecated. The newer version is getThisMonthsDayByIndex() and should be used wherever possible param: integer $index - number between 0 to 42 param: string $day - date param: string $month - month param: string $year - year |
| getThisyearMonthsbyIndex($index) X-Ref |
| function to get months in year using index param: integer $index - number between 0 to 11 |
| getHourendtime() X-Ref |
| function to get hour end time return vt_DateTime obj $datetimevalue |
| getDayendtime() X-Ref |
| function to get day end time return vt_DateTime obj $datetimevalue |
| getMonthendtime() X-Ref |
| function to get month end time return vt_DateTime obj $datetimevalue |
| get_Date() X-Ref |
| function to get day of week return string $this->day - day (eg: Monday) |
| getmonthName_inshort() X-Ref |
| function to get month name in short return string $this->month_inshort - month name (eg: Jan) |
| getMonth() X-Ref |
| function to get month return string $this->month - month name |
| getYear() X-Ref |
| function to get year |
| getDaysInMonth() X-Ref |
| function to get the number of days in a month |
| getmonthName() X-Ref |
| function to get month name return string $this->month_inlong - month name |
| getdayofWeek() X-Ref |
| function to get day of week return string $this->dayofweek_inlong - day of week |
| getdayofWeek_inshort() X-Ref |
| function to get day of week in short return string $this->dayofweek_inshort - day of week (eg: Mon) |
| setDateTime($ts) X-Ref |
| function to set values for vt_DateTime object param: integer $ts - Time stamp |
| getDateTime() X-Ref |
| function to get values from vt_DateTime object |
| get_formatted_date() X-Ref |
| function to get mysql formatted date return formatted date in string format |
| get_userTimezone_formatted_date() X-Ref |
| Function to get formatted date in users time zone return: <Date> |
| get_DB_formatted_date() X-Ref |
return: Date |
| get_formatted_time() X-Ref |
| function to get mysql formatted time return formatted time in string format |
| get_changed_day($mode) X-Ref |
| function to get date depends on mode value param: string $mode - 'increment' or 'decrement' |
| get_first_day_of_changed_week($mode) X-Ref |
| function to get changed week depends on mode value param: string $mode - 'increment' or 'decrement' |
| get_first_day_of_changed_month($mode) X-Ref |
| function to get month depends on mode value param: string $mode - 'increment' or 'decrement' |
| get_first_day_of_changed_year($mode) X-Ref |
| function to get year depends on mode value param: string $mode - 'increment' or 'decrement' |
| get_date_str() X-Ref |
| function to get date string return date string |
| getThisMonthsDayByIndex($index) X-Ref |
| function to get days in month using index This is the newer version of the function getThismonthDaysbyIndex(). This should be used whereever possible param: integer $index - number between 0 to 42 param: string $day - date param: string $month - month param: string $year - year |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |